[llvm-commits] [llvm] r122124 - /llvm/trunk/test/MC/ELF/relocation-386.s

Rafael Espindola rafael.espindola at gmail.com
Fri Dec 17 17:16:59 PST 2010


Author: rafael
Date: Fri Dec 17 19:16:59 2010
New Revision: 122124

URL: http://llvm.org/viewvc/llvm-project?rev=122124&view=rev
Log:
Test for push being relaxed.

Modified:
    llvm/trunk/test/MC/ELF/relocation-386.s

Modified: llvm/trunk/test/MC/ELF/relocation-386.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/relocation-386.s?rev=122124&r1=122123&r2=122124&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/relocation-386.s (original)
+++ llvm/trunk/test/MC/ELF/relocation-386.s Fri Dec 17 19:16:59 2010
@@ -174,6 +174,12 @@
 // CHECK-NEXT:  ('r_sym', 0x00000004)
 // CHECK-NEXT:  ('r_type', 0x00000020)
 // CHECK-NEXT: ),
+// Relocation 23 ($bar) is of type R_386_32 and uses the section
+// CHECK-NEXT: Relocation 0x00000017
+// CHECK-NEXT: (('r_offset',
+// CHECK-NEXT:  ('r_sym',
+// CHECK-NEXT:  ('r_type', 0x00000001)
+// CHECK-NEXT: ),
 
         .text
 bar:
@@ -209,6 +215,7 @@
         movl zed at TLSLDM(%eax), %eax
         movl zed at TPOFF(%eax), %eax
         movl zed at DTPOFF(%eax), %eax
+        pushl $bar
 
         .section        zedsec,"awT", at progbits
 zed:





More information about the llvm-commits mailing list