aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/retain4.s
blob: f30f1216c7633bcf5761d5b1bc07a2d7d8588522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* A section that doesn't match any linker script input section rules but
   has SHF_GNU_RETAIN applied should not be garbage collected.  */
	.section	.orphaned_section,"axR"
	.global	orphaned_fn
	.type	orphaned_fn, %function
orphaned_fn:
	.word 0

	.section	.text._start,"ax"
	.global	_start
	.type	_start, %function
_start:
	.word 0