x86: Add tests for -n option of x86 assembler
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / tlspic.d
index fbe83a47c4a4700634a738e75768dd59551dee41..ccb292c3e68500fa45aa1cc859679753df430fad 100644 (file)
@@ -1,5 +1,5 @@
 #objdump: -dr
-#name: i386 non-pic tls
+#name: i386 pic tls
 
 .*: +file format .*
 
@@ -15,16 +15,16 @@ Disassembly of section .text:
    b:  81 c3 03 00 00 00 [     ]*add    \$0x3,%ebx
 [      ]+d: R_386_GOTPC        _GLOBAL_OFFSET_TABLE_
   11:  65 a1 00 00 00 00 [     ]*mov    %gs:0x0,%eax
-  17:  8d 76 00 [      ]*lea    0x0\(%esi\),%esi
+  17:  83 c6 00 [      ]*add    \$0x0,%esi
   1a:  2b 83 00 00 00 00 [     ]*sub    0x0\(%ebx\),%eax
 [      ]+1c: R_386_TLS_IE_32   foo
   20:  8b 83 00 00 00 00 [     ]*mov    0x0\(%ebx\),%eax
 [      ]+22: R_386_TLS_GOTIE   foo
-  26:  8d 76 00 [      ]*lea    0x0\(%esi\),%esi
+  26:  83 c6 00 [      ]*add    \$0x0,%esi
   29:  65 8b 00 [      ]*mov    %gs:\(%eax\),%eax
   2c:  65 8b 0d 00 00 00 00 [  ]*mov    %gs:0x0,%ecx
   33:  03 8b 00 00 00 00 [     ]*add    0x0\(%ebx\),%ecx
 [      ]+35: R_386_TLS_GOTIE   foo
-  39:  8b 5d fc [      ]*mov    0xfffffffc\(%ebp\),%ebx
+  39:  8b 5d fc [      ]*mov    -0x4\(%ebp\),%ebx
   3c:  c9 [    ]*leave[        ]*
   3d:  c3 [    ]*ret[  ]*
This page took 0.024686 seconds and 4 git commands to generate.