Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/retain4.d

10 lines
255 B
D
Raw Normal View History

2023-03-06 14:48:14 +01:00
#name: SHF_GNU_RETAIN 4 (keep orphaned sections when not discarding)
#source: retain4.s
#ld: -e _start --gc-sections --orphan-handling=place
#notarget: ![supports_gnu_osabi] ![check_gc_sections_available]
#DUMPPROG: nm
#...
[0-9a-f]+ . orphaned_fn
#pass