bfd, ld: add CTF section linking
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / tlsgdesc.dd
index b0e7c0584404572e877f70b2e4c0ec520c4b31ed..d0a274b4da8d38c14de77d48d40ca6bcc070b244 100644 (file)
@@ -1,10 +1,10 @@
 #source: tlsgdesc.s
 #as: --64
-#ld: -shared -melf_x86_64
-#objdump: -drj.text
+#ld: -shared -melf_x86_64 --no-ld-generated-unwind-info
+#objdump: -drj.text -Mintel64
 #target: x86_64-*-*
 
-.*: +file format elf64-x86-64
+.*: +file format elf64-x86-64.*
 
 Disassembly of section .text:
 
@@ -20,7 +20,7 @@ Disassembly of section .text:
  +[0-9a-f]+:   00 00 *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
- +[0-9a-f]+:   48 03 0d 5e 02 10 00[   ]+add    1049182\(%rip\),%rcx +# 100660 <.*>
+ +[0-9a-f]+:   48 03 0d ([0-9a-f]{2} ){4}[     ]+add    0x[0-9a-f]+\(%rip\),%rcx +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TPOFF64     sG3
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
@@ -31,24 +31,24 @@ Disassembly of section .text:
  +[0-9a-f]+:   00 00 *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
- +[0-9a-f]+:   48 03 0d 68 02 10 00[   ]+add    1049192\(%rip\),%rcx +# 100680 <.*>
+ +[0-9a-f]+:   48 03 0d ([0-9a-f]{2} ){4}[     ]+add    0x[0-9a-f]+\(%rip\),%rcx +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TPOFF64     sG4
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
 # GD, gd first
- +[0-9a-f]+:   66 48 8d 3d 6c 02 10[   ]+lea    1049196\(%rip\),%rdi +# 100690 <.*>
- +[0-9a-f]+:   00 *
+ +[0-9a-f]+:   66 48 8d 3d ([0-9a-f]{2} ){3}[  ]+data16 lea 0x[0-9a-f]+\(%rip\),%rdi +# [0-9a-f]+ <.*>
+ +[0-9a-f]+:   [0-9a-f]{2} *
 #                              -> R_X86_64_DTPMOD64    sG1
- +[0-9a-f]+:   66 66 48 e8 9c ff ff[   ]+callq  [0-9a-f]+ <.*>
- +[0-9a-f]+:   ff[     ]+
+ +[0-9a-f]+:   66 66 48 e8 ([0-9a-f]{2} ){3}[  ]+data16 data16 rex.W callq [0-9a-f]+ <__tls_get_addr@plt>
+ +[0-9a-f]+:   [0-9a-f]{2} *
 #                              -> R_X86_64_JUMP_SLOT   __tls_get_addr
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
- +[0-9a-f]+:   48 8d 05 a1 02 10 00[   ]+lea    1049249\(%rip\),%rax +# 1006d8 <.*>
+ +[0-9a-f]+:   48 8d 05 ([0-9a-f]{2} ){4}[     ]+lea    0x[0-9a-f]+\(%rip\),%rax +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TLSDESC     sG1
  +[0-9a-f]+:   ff 10[  ]+callq  \*\(%rax\)
  +[0-9a-f]+:   90[     ]+nop *
@@ -56,18 +56,18 @@ Disassembly of section .text:
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
 # GD, desc first
- +[0-9a-f]+:   48 8d 05 84 02 10 00[   ]+lea    1049220\(%rip\),%rax +# 1006c8 <.*>
+ +[0-9a-f]+:   48 8d 05 ([0-9a-f]{2} ){4}[     ]+lea    0x[0-9a-f]+\(%rip\),%rax +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TLSDESC     sG2
  +[0-9a-f]+:   ff 10[  ]+callq  \*\(%rax\)
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
- +[0-9a-f]+:   66 48 8d 3d 1e 02 10[   ]+lea    1049118\(%rip\),%rdi +# 100670 <.*>
- +[0-9a-f]+:   00 *
+ +[0-9a-f]+:   66 48 8d 3d ([0-9a-f]{2} ){3}[  ]+data16 lea 0x[0-9a-f]+\(%rip\),%rdi +# [0-9a-f]+ <.*>
+ +[0-9a-f]+:   [0-9a-f]{2} *
 #                              -> R_X86_64_DTPMOD64    sG2
- +[0-9a-f]+:   66 66 48 e8 6e ff ff[   ]+callq  [0-9a-f]+ <.*>
- +[0-9a-f]+:   ff[     ]+
+ +[0-9a-f]+:   66 66 48 e8 ([0-9a-f]{2} ){3}[  ]+data16 data16 rex.W callq [0-9a-f]+ <__tls_get_addr@plt>
+ +[0-9a-f]+:   [0-9a-f]{2} *
 #                              -> R_X86_64_JUMP_SLOT   __tls_get_addr
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
@@ -76,32 +76,30 @@ Disassembly of section .text:
 # GD -> IE, gd first, after IE use
  +[0-9a-f]+:   64 48 8b 04 25 00 00[   ]+mov    %fs:0x0,%rax
  +[0-9a-f]+:   00 00 *
- +[0-9a-f]+:   48 03 05 f2 01 10 00[   ]+add    1049074\(%rip\),%rax +# 100660 <.*>
+ +[0-9a-f]+:   48 03 05 ([0-9a-f]{2} ){4}[     ]+add    0x[0-9a-f]+\(%rip\),%rax +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TPOFF64     sG3
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
- +[0-9a-f]+:   48 8b 05 e7 01 10 00[   ]+mov    1049063\(%rip\),%rax +# 100660 <.*>
+ +[0-9a-f]+:   48 8b 05 ([0-9a-f]{2} ){4}[     ]+mov    0x[0-9a-f]+\(%rip\),%rax +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TPOFF64     sG3
- +[0-9a-f]+:   90[     ]+nop *
- +[0-9a-f]+:   90[     ]+nop *
+ +[0-9a-f]+:   66 90[  ]+xchg   %ax,%ax
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
 # GD -> IE, desc first, after IE use
- +[0-9a-f]+:   48 8b 05 fa 01 10 00[   ]+mov    1049082\(%rip\),%rax +# 100680 <.*>
+ +[0-9a-f]+:   48 8b 05 ([0-9a-f]{2} ){4}[     ]+mov    0x[0-9a-f]+\(%rip\),%rax +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TPOFF64     sG4
- +[0-9a-f]+:   90[     ]+nop *
- +[0-9a-f]+:   90[     ]+nop *
+ +[0-9a-f]+:   66 90[  ]+xchg   %ax,%ax
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   64 48 8b 04 25 00 00[   ]+mov    %fs:0x0,%rax
  +[0-9a-f]+:   00 00 *
- +[0-9a-f]+:   48 03 05 e4 01 10 00[   ]+add    1049060\(%rip\),%rax +# 100680 <.*>
+ +[0-9a-f]+:   48 03 05 ([0-9a-f]{2} ){4}[     ]+add    0x[0-9a-f]+\(%rip\),%rax +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TPOFF64     sG4
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
@@ -110,32 +108,30 @@ Disassembly of section .text:
 # GD -> IE, gd first, before IE use
  +[0-9a-f]+:   64 48 8b 04 25 00 00[   ]+mov    %fs:0x0,%rax
  +[0-9a-f]+:   00 00 *
- +[0-9a-f]+:   48 03 05 b8 01 10 00[   ]+add    1049016\(%rip\),%rax +# 100668 <.*>
+ +[0-9a-f]+:   48 03 05 ([0-9a-f]{2} ){4}[     ]+add    0x[0-9a-f]+\(%rip\),%rax +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TPOFF64     sG5
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
- +[0-9a-f]+:   48 8b 05 ad 01 10 00[   ]+mov    1049005\(%rip\),%rax +# 100668 <.*>
+ +[0-9a-f]+:   48 8b 05 ([0-9a-f]{2} ){4}[     ]+mov    0x[0-9a-f]+\(%rip\),%rax +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TPOFF64     sG5
- +[0-9a-f]+:   90[     ]+nop *
- +[0-9a-f]+:   90[     ]+nop *
+ +[0-9a-f]+:   66 90[  ]+xchg   %ax,%ax
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
 # GD -> IE, desc first, before IE use
- +[0-9a-f]+:   48 8b 05 c0 01 10 00[   ]+mov    1049024\(%rip\),%rax +# 100688 <.*>
+ +[0-9a-f]+:   48 8b 05 ([0-9a-f]{2} ){4}[     ]+mov    0x[0-9a-f]+\(%rip\),%rax +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TPOFF64     sG6
- +[0-9a-f]+:   90[     ]+nop *
- +[0-9a-f]+:   90[     ]+nop *
+ +[0-9a-f]+:   66 90[  ]+xchg   %ax,%ax
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   64 48 8b 04 25 00 00[   ]+mov    %fs:0x0,%rax
  +[0-9a-f]+:   00 00 *
- +[0-9a-f]+:   48 03 05 aa 01 10 00[   ]+add    1049002\(%rip\),%rax +# 100688 <.*>
+ +[0-9a-f]+:   48 03 05 ([0-9a-f]{2} ){4}[     ]+add    0x[0-9a-f]+\(%rip\),%rax +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TPOFF64     sG6
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
@@ -146,7 +142,7 @@ Disassembly of section .text:
  +[0-9a-f]+:   00 00 *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
- +[0-9a-f]+:   48 03 0d 74 01 10 00[   ]+add    1048948\(%rip\),%rcx +# 100668 <.*>
+ +[0-9a-f]+:   48 03 0d ([0-9a-f]{2} ){4}[     ]+add    0x[0-9a-f]+\(%rip\),%rcx +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TPOFF64     sG5
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
@@ -157,7 +153,7 @@ Disassembly of section .text:
  +[0-9a-f]+:   00 00 *
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
- +[0-9a-f]+:   48 03 0d 7e 01 10 00[   ]+add    1048958\(%rip\),%rcx +# 100688 <.*>
+ +[0-9a-f]+:   48 03 0d ([0-9a-f]{2} ){4}[     ]+add    0x[0-9a-f]+\(%rip\),%rcx +# [0-9a-f]+ <.*>
 #                              -> R_X86_64_TPOFF64     sG6
  +[0-9a-f]+:   90[     ]+nop *
  +[0-9a-f]+:   90[     ]+nop *
This page took 0.026534 seconds and 4 git commands to generate.