mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
98b3697bcd
Update and run PR gas/26263 linker tests for all x86 ELF targets to accept any program header layout. PR gas/26263 * testsuite/ld-i386/pr26263.d: Updated. * testsuite/ld-x86-64/pr26263.d: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run gas/26263 test for all ELF targets.
19 lines
364 B
Makefile
19 lines
364 B
Makefile
#as: --64
|
|
#ld: -m elf_x86_64 -shared
|
|
#objdump: -dw
|
|
|
|
.*: +file format .*
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
0+[a-f0-9]+ <printk>:
|
|
+[a-f0-9]+: c3 ret
|
|
|
|
Disassembly of section .init.text:
|
|
|
|
0+[a-f0-9]+ <foo>:
|
|
+[a-f0-9]+: e8 ([0-9a-f]{2} ){4} call [a-f0-9]+ <printk>
|
|
+[a-f0-9]+: e8 ([0-9a-f]{2} ){4} call [a-f0-9]+ <printk>
|
|
#pass
|