mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
d7adef8baf
Pass --no-relax to ld so that GOTPCREL relocation will be kept. * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
13 lines
282 B
D
13 lines
282 B
D
#as: --64
|
|
#ld: -melf_x86_64 -shared -z max-page-size=0x200000 --no-relax
|
|
#objdump: -dw
|
|
|
|
.*: +file format .*
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
[a-f0-9]+ <bar>:
|
|
[ ]*[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4} mov 0x[a-f0-9]+\(%rip\),%rax # [a-f0-9]+ <_DYNAMIC\+0x[a-f0-9]+>
|
|
#pass
|