mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
13 lines
408 B
D
13 lines
408 B
D
#name: --gc-sections with --defsym
|
|
#source: dummy.s
|
|
#ld: --gc-sections -e main --defsym foo=foo2 tmpdir/pr13683.o
|
|
#nm: --format=bsd
|
|
#xfail: sh64*-*-* iq2000-*-* lm32-*-* epiphany-*-* mips64vr-*-* frv-*-* m32c-*-* rl78-*-* rx-*-* sh-*-*
|
|
|
|
# Note - look for both "foo" and "foo2" being defined, non-zero function symbols
|
|
|
|
#...
|
|
0*[1-9a-f]+[0-9a-f]*[ ](T|D)[ ]_*foo
|
|
0*[1-9a-f]+[0-9a-f]*[ ](T|D)[ ]_*foo2
|
|
#...
|