x86-64: Restore PIC check for PCREL reloc against protected symbol
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr21038a-now.d
index ebc512887a104bd64053752ae18aeeac22f6c4b8..72268fae8f83ade77bf631afe011ccd13d10f77e 100644 (file)
@@ -1,7 +1,7 @@
 #name: PR ld/21038 (.plt.got, -z now)
 #source: pr21038a.s
 #as: --64
-#ld: -z now -z bndplt -melf_x86_64 -shared -z relro --ld-generated-unwind-info
+#ld: -z now -z bndplt -melf_x86_64 -shared -z relro --ld-generated-unwind-info --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
 #objdump: -dw -Wf
 
 .*: +file format .*
@@ -21,7 +21,7 @@ Contents of the .eh_frame section:
   DW_CFA_nop
   DW_CFA_nop
 
-0+18 0000000000000014 0000001c FDE cie=00000000 pc=0000000000000238..0000000000000244
+0+18 0000000000000014 0000001c FDE cie=00000000 pc=00000000000001c8..00000000000001d4
   DW_CFA_nop
   DW_CFA_nop
   DW_CFA_nop
@@ -30,22 +30,18 @@ Contents of the .eh_frame section:
   DW_CFA_nop
   DW_CFA_nop
 
-0+30 0000000000000024 00000034 FDE cie=00000000 pc=0000000000000220..0000000000000230
+0+30 0000000000000024 00000034 FDE cie=00000000 pc=00000000000001b0..00000000000001c0
   DW_CFA_def_cfa_offset: 16
-  DW_CFA_advance_loc: 6 to 0000000000000226
+  DW_CFA_advance_loc: 6 to 00000000000001b6
   DW_CFA_def_cfa_offset: 24
-  DW_CFA_advance_loc: 10 to 0000000000000230
+  DW_CFA_advance_loc: 10 to 00000000000001c0
   DW_CFA_def_cfa_expression \(DW_OP_breg7 \(rsp\): 8; DW_OP_breg16 \(rip\): 0; DW_OP_lit15; DW_OP_and; DW_OP_lit5; DW_OP_ge; DW_OP_lit3; DW_OP_shl; DW_OP_plus\)
   DW_CFA_nop
   DW_CFA_nop
   DW_CFA_nop
   DW_CFA_nop
 
-0+58 0000000000000014 0000005c FDE cie=00000000 pc=0000000000000230..0000000000000238
-  DW_CFA_nop
-  DW_CFA_nop
-  DW_CFA_nop
-  DW_CFA_nop
+0+58 0000000000000010 0000005c FDE cie=00000000 pc=00000000000001c0..00000000000001c8
   DW_CFA_nop
   DW_CFA_nop
   DW_CFA_nop
@@ -53,20 +49,20 @@ Contents of the .eh_frame section:
 
 Disassembly of section .plt:
 
-0+220 <.plt>:
- +[a-f0-9]+:   ff 35 c2 0d 20 00       pushq  0x200dc2\(%rip\)        # 200fe8 <_GLOBAL_OFFSET_TABLE_\+0x8>
- +[a-f0-9]+:   f2 ff 25 c3 0d 20 00    bnd jmpq \*0x200dc3\(%rip\)        # 200ff0 <_GLOBAL_OFFSET_TABLE_\+0x10>
+0+1b0 <.plt>:
+ +[a-f0-9]+:   ff 35 32 0e 20 00       pushq  0x200e32\(%rip\)        # 200fe8 <_GLOBAL_OFFSET_TABLE_\+0x8>
+ +[a-f0-9]+:   f2 ff 25 33 0e 20 00    bnd jmpq \*0x200e33\(%rip\)        # 200ff0 <_GLOBAL_OFFSET_TABLE_\+0x10>
  +[a-f0-9]+:   0f 1f 00                nopl   \(%rax\)
 
 Disassembly of section .plt.got:
 
-0+230 <func@plt>:
- +[a-f0-9]+:   f2 ff 25 c1 0d 20 00    bnd jmpq \*0x200dc1\(%rip\)        # 200ff8 <func>
+0+1c0 <func@plt>:
+ +[a-f0-9]+:   f2 ff 25 31 0e 20 00    bnd jmpq \*0x200e31\(%rip\)        # 200ff8 <func>
  +[a-f0-9]+:   90                      nop
 
 Disassembly of section .text:
 
-0+238 <foo>:
- +[a-f0-9]+:   e8 f3 ff ff ff          callq  230 <func@plt>
- +[a-f0-9]+:   48 8b 05 b4 0d 20 00    mov    0x200db4\(%rip\),%rax        # 200ff8 <func>
+0+1c8 <foo>:
+ +[a-f0-9]+:   e8 f3 ff ff ff          callq  1c0 <func@plt>
+ +[a-f0-9]+:   48 8b 05 24 0e 20 00    mov    0x200e24\(%rip\),%rax        # 200ff8 <func>
 #pass
This page took 0.029994 seconds and 4 git commands to generate.