]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-elf/retain4.s
Support SHF_GNU_RETAIN ELF section flag
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-elf / retain4.s
1 /* A section that doesn't match any linker script input section rules but
2 has SHF_GNU_RETAIN applied should not be garbage collected. */
3 .section .orphaned_section,"axR"
4 .global orphaned_fn
5 .type orphaned_fn, %function
6 orphaned_fn:
7 .word 0
8
9 .section .text._start,"ax"
10 .global _start
11 .type _start, %function
12 _start:
13 .word 0