x86-64: Convert load to mov only for GOTPCRELX relocations
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr27016b.d
1 #source: pr27016a.s
2 #source: pr27016b.s
3 #as: --64 -mx86-used-note=no -mrelax-relocations=yes
4 #ld: -m elf_x86_64 -z max-page-size=0x200000 -z noseparate-code -e main
5 #objdump: -dw
6
7 .*: +file format .*
8
9
10 Disassembly of section .text:
11
12 0+4000e8 <main>:
13 +[a-f0-9]+: 55 push %rbp
14 +[a-f0-9]+: 48 89 e5 mov %rsp,%rbp
15 +[a-f0-9]+: 49 c7 c3 2c 40 40 00 mov \$0x40402c,%r11
16 +[a-f0-9]+: 41 8b 03 mov \(%r11\),%eax
17 +[a-f0-9]+: 8d 50 01 lea 0x1\(%rax\),%edx
18 +[a-f0-9]+: 49 c7 c3 2c 40 40 00 mov \$0x40402c,%r11
19 +[a-f0-9]+: 41 89 13 mov %edx,\(%r11\)
20 +[a-f0-9]+: b8 00 00 00 00 mov \$0x0,%eax
21 +[a-f0-9]+: 5d pop %rbp
22 +[a-f0-9]+: c3 ret
23 #pass
This page took 0.03499 seconds and 4 git commands to generate.