mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
10 lines
224 B
D
10 lines
224 B
D
|
#name: Check require-defined can require two symbols
|
||
|
#source: require-defined.s
|
||
|
#ld: -e _start --gc-sections --require-defined=bar --require-defined=foo tmpdir/libfoo.a
|
||
|
#nm: -n
|
||
|
|
||
|
#...
|
||
|
[0-9a-f]+ T foo
|
||
|
#...
|
||
|
[0-9a-f]+ T bar
|
||
|
#...
|