mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
11 lines
285 B
D
11 lines
285 B
D
|
#name: SHF_GNU_RETAIN 6b (pull section out of lib required by SHF_GNU_RETAIN section)
|
||
|
#source: retain6main.s
|
||
|
#ld: --gc-sections -e _start -u bar -Ltmpdir -lretain6
|
||
|
#notarget: ![supports_gnu_osabi] ![check_gc_sections_available]
|
||
|
#DUMPPROG: nm
|
||
|
|
||
|
#failif
|
||
|
#...
|
||
|
[0-9a-f]+ . .*discard.*
|
||
|
#...
|