2015-01-19 17:23:29 +00:00
|
|
|
#ld: --gc-sections -shared
|
|
|
|
#readelf: -S --wide --dyn-syms
|
|
|
|
#target: *-*-linux* *-*-gnu*
|
|
|
|
#notarget: arc-*-* d30v-*-* dlx-*-* i960-*-* pj*-*-*
|
|
|
|
#notarget: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-*
|
|
|
|
# generic linker targets don't support --gc-sections, nor do a bunch of others
|
|
|
|
|
|
|
|
#...
|
2015-01-20 00:41:38 +00:00
|
|
|
\[[ 0-9]+\] \.s?bss[ \t]+NOBITS[ \t0-9a-f]+WA.*
|
2015-01-19 17:23:29 +00:00
|
|
|
#...
|
|
|
|
+[0-9]+: +[0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[1-9]+ foo
|
|
|
|
#pass
|