1 #name
: --gc
-sections
with --defsym
3 #ld
: --gc
-sections
-e main
--defsym foo
=foo2 tmpdir
/pr13683
.o
5 #xfail
: sh64
*-*-* iq2000
-*-* lm32
-*-* epiphany
-*-* mips64vr
-*-* frv
-*-* m32c
-*-* rl78
-*-* rx
-*-* sh
-*-*
7 # Note
- look
for both
"foo" and "foo2" being defined
, non
-zero
function symbols
10 0+[1-9a
-f
]+[0-9a
-f
]*[ ]T
[ ]_
*foo
11 0+[1-9a
-f
]+[0-9a
-f
]*[ ]T
[ ]_
*foo2