Add support to GDB for the Renesas rl78 architecture.
[external/binutils.git] / ld / testsuite / ld-i386 / tlsgdesc.dd
index a56b305..92062ce 100644 (file)
@@ -1,6 +1,6 @@
 #source: tlsgdesc.s
 #as: --32
-#ld: -shared -melf_i386
+#ld: -shared -melf_i386 --no-ld-generated-unwind-info
 #objdump: -drj.text
 #target: i?86-*-*
 
@@ -24,7 +24,7 @@ Disassembly of section .text:
  [0-9a-f]+:    65 8b 0d 00 00 00 00[   ]+mov    %gs:0x0,%ecx
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
- [0-9a-f]+:    2b 8b e0 ff ff ff[      ]+sub    0xffffffe0\(%ebx\),%ecx
+ [0-9a-f]+:    2b 8b e0 ff ff ff[      ]+sub    -0x20\(%ebx\),%ecx
 #                              ->R_386_TLS_TPOFF32     sG3
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
@@ -34,14 +34,14 @@ Disassembly of section .text:
  [0-9a-f]+:    65 8b 0d 00 00 00 00[   ]+mov    %gs:0x0,%ecx
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
- [0-9a-f]+:    03 8b f0 ff ff ff[      ]+add    0xfffffff0\(%ebx\),%ecx
+ [0-9a-f]+:    03 8b f0 ff ff ff[      ]+add    -0x10\(%ebx\),%ecx
 #                              ->R_386_TLS_TPOFF       sG4
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
 #  GD
- [0-9a-f]+:    8d 04 1d f8 ff ff ff[   ]+lea    0xfffffff8\(,%ebx,1\),%eax
+ [0-9a-f]+:    8d 04 1d f8 ff ff ff[   ]+lea    -0x8\(,%ebx,1\),%eax
 #                              ->R_386_TLS_DTPMOD32    sG1
  [0-9a-f]+:    e8 a9 ff ff ff[         ]+call   [0-9a-f]+ <___tls_get_addr@plt>
 #                              ->R_386_JUMP_SLOT       ___tls_get_addr
@@ -63,7 +63,7 @@ Disassembly of section .text:
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
- [0-9a-f]+:    8d 04 1d e8 ff ff ff[   ]+lea    0xffffffe8\(,%ebx,1\),%eax
+ [0-9a-f]+:    8d 04 1d e8 ff ff ff[   ]+lea    -0x18\(,%ebx,1\),%eax
 #                              ->R_386_TLS_DTPMOD32    sG2
  [0-9a-f]+:    e8 81 ff ff ff[         ]+call   [0-9a-f]+ <___tls_get_addr@plt>
 #                              ->R_386_JUMP_SLOT       ___tls_get_addr
@@ -73,13 +73,13 @@ Disassembly of section .text:
  [0-9a-f]+:    90[     ]+nop *
 #  GD -> IE because variable is referenced through @gottpoff too
  [0-9a-f]+:    65 a1 00 00 00 00[      ]+mov    %gs:0x0,%eax
- [0-9a-f]+:    2b 83 e0 ff ff ff[      ]+sub    0xffffffe0\(%ebx\),%eax
+ [0-9a-f]+:    2b 83 e0 ff ff ff[      ]+sub    -0x20\(%ebx\),%eax
 #                              ->R_386_TLS_TPOFF32     sG3
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
- [0-9a-f]+:    8b 83 e0 ff ff ff[      ]+mov    0xffffffe0\(%ebx\),%eax
+ [0-9a-f]+:    8b 83 e0 ff ff ff[      ]+mov    -0x20\(%ebx\),%eax
 #                              ->R_386_TLS_TPOFF32     sG3
  [0-9a-f]+:    f7 d8[  ]+neg    %eax
  [0-9a-f]+:    90[     ]+nop *
@@ -87,7 +87,7 @@ Disassembly of section .text:
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
 #  GD -> IE because variable is referenced through @gotntpoff too
- [0-9a-f]+:    8b 83 f0 ff ff ff[      ]+mov    0xfffffff0\(%ebx\),%eax
+ [0-9a-f]+:    8b 83 f0 ff ff ff[      ]+mov    -0x10\(%ebx\),%eax
 #                              ->R_386_TLS_TPOFF       sG4
  [0-9a-f]+:    66 90[  ]+xchg   %ax,%ax
  [0-9a-f]+:    90[     ]+nop *
@@ -95,7 +95,7 @@ Disassembly of section .text:
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    65 a1 00 00 00 00[      ]+mov    %gs:0x0,%eax
- [0-9a-f]+:    03 83 f0 ff ff ff[      ]+add    0xfffffff0\(%ebx\),%eax
+ [0-9a-f]+:    03 83 f0 ff ff ff[      ]+add    -0x10\(%ebx\),%eax
 #                              ->R_386_TLS_TPOFF       sG4
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
@@ -103,13 +103,13 @@ Disassembly of section .text:
  [0-9a-f]+:    90[     ]+nop *
 #  GD -> IE because variable is referenced through @gotntpoff too
  [0-9a-f]+:    65 a1 00 00 00 00[      ]+mov    %gs:0x0,%eax
- [0-9a-f]+:    03 83 e4 ff ff ff[      ]+add    0xffffffe4\(%ebx\),%eax
+ [0-9a-f]+:    03 83 e4 ff ff ff[      ]+add    -0x1c\(%ebx\),%eax
 #                              ->R_386_TLS_TPOFF       sG5
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
- [0-9a-f]+:    8b 83 e4 ff ff ff[      ]+mov    0xffffffe4\(%ebx\),%eax
+ [0-9a-f]+:    8b 83 e4 ff ff ff[      ]+mov    -0x1c\(%ebx\),%eax
 #                              ->R_386_TLS_TPOFF       sG5
  [0-9a-f]+:    66 90[  ]+xchg   %ax,%ax
  [0-9a-f]+:    90[     ]+nop *
@@ -117,7 +117,7 @@ Disassembly of section .text:
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
 #  GD -> IE because variable is referenced through @gottpoff too
- [0-9a-f]+:    8b 83 f4 ff ff ff[      ]+mov    0xfffffff4\(%ebx\),%eax
+ [0-9a-f]+:    8b 83 f4 ff ff ff[      ]+mov    -0xc\(%ebx\),%eax
 #                              ->R_386_TLS_TPOFF32     sG6
  [0-9a-f]+:    f7 d8[  ]+neg    %eax
  [0-9a-f]+:    90[     ]+nop *
@@ -125,7 +125,7 @@ Disassembly of section .text:
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    65 a1 00 00 00 00[      ]+mov    %gs:0x0,%eax
- [0-9a-f]+:    2b 83 f4 ff ff ff[      ]+sub    0xfffffff4\(%ebx\),%eax
+ [0-9a-f]+:    2b 83 f4 ff ff ff[      ]+sub    -0xc\(%ebx\),%eax
 #                              ->R_386_TLS_TPOFF32     sG6
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
@@ -135,7 +135,7 @@ Disassembly of section .text:
  [0-9a-f]+:    65 8b 0d 00 00 00 00[   ]+mov    %gs:0x0,%ecx
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
- [0-9a-f]+:    03 8b e4 ff ff ff[      ]+add    0xffffffe4\(%ebx\),%ecx
+ [0-9a-f]+:    03 8b e4 ff ff ff[      ]+add    -0x1c\(%ebx\),%ecx
 #                              ->R_386_TLS_TPOFF       sG5
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
@@ -145,12 +145,12 @@ Disassembly of section .text:
  [0-9a-f]+:    65 8b 0d 00 00 00 00[   ]+mov    %gs:0x0,%ecx
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
- [0-9a-f]+:    2b 8b f4 ff ff ff[      ]+sub    0xfffffff4\(%ebx\),%ecx
+ [0-9a-f]+:    2b 8b f4 ff ff ff[      ]+sub    -0xc\(%ebx\),%ecx
 #                              ->R_386_TLS_TPOFF32     sG6
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
  [0-9a-f]+:    90[     ]+nop *
- [0-9a-f]+:    8b 5d fc[       ]+mov    0xfffffffc\(%ebp\),%ebx
+ [0-9a-f]+:    8b 5d fc[       ]+mov    -0x4\(%ebp\),%ebx
  [0-9a-f]+:    c9[     ]+leave *
  [0-9a-f]+:    c3[     ]+ret *