mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
309cae1f7b
PR ld/26018 * testsuite/ld-i386/i386.exp: Add a -Bsymbolic-functions test. * testsuite/ld-x86-64/x86-64.exp: Likewise. * testsuite/ld-i386/pr26018.d: New file. * testsuite/ld-x86-64/pr26018.d: Likewise. * testsuite/ld-x86-64/pr26018.s: Likewise.
17 lines
300 B
Makefile
17 lines
300 B
Makefile
#source: ../ld-x86-64/pr26018.s
|
|
#as: --32
|
|
#ld: -shared -Bsymbolic-functions -melf_i386
|
|
#objdump: -dw
|
|
|
|
.*: +file format .*
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
[0-9a-f]+ <_start>:
|
|
+[a-f0-9]+: e8 00 00 00 00 call [0-9a-f]+ <foo>
|
|
|
|
[0-9a-f]+ <foo>:
|
|
+[a-f0-9]+: c3 ret
|
|
#pass
|