mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
040b4a9eb8
Well, just __stop__foo but that should be good enough. * testsuite/ld-gc/stop.d, * testsuite/ld-gc/stop.s: New test. * testsuite/ld-gc/gc.exp: Run it.
11 lines
208 B
Makefile
11 lines
208 B
Makefile
#name: --gc-sections removing __stop_
|
|
#ld: --gc-sections -e _start
|
|
#nm: -n
|
|
#target: *-*-linux* *-*-gnu*
|
|
#notarget: *-*-*aout *-*-*oldld frv-*-linux* metag-*-linux*
|
|
|
|
#failif
|
|
#...
|
|
[0-9a-f]+ D +__stop__foo
|
|
#...
|