x86-64: Restore PIC check for PCREL reloc against protected symbol
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr20800b.S
1 .section .rodata.str1.1,"aMS",@progbits,1
2 .LC0:
3 .string "PASS\n"
4 .text
5 .globl bar
6 .type bar, @function
7 bar:
8 .L2:
9 leaq .L2(%rip), %rdx
10 movabsq $_GLOBAL_OFFSET_TABLE_-.L2, %r11
11 movabsq $.LC0@GOTOFF, %rax
12 pushq %r15
13 movabsq $printf@PLTOFF, %rcx
14 addq %r11, %rdx
15 popq %r15
16 leaq (%rdx,%rax), %rdi
17 addq %rdx, %rcx
18 xorl %eax, %eax
19 jmp *%rcx
20 .size bar, .-bar
21 .section .note.GNU-stack,"",@progbits
This page took 0.031162 seconds and 4 git commands to generate.