aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/retain6main.s
blob: a1916dea85691beac7c2b9db018c87d65697d596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Undefined symbol reference in retained section .data.retained_var requires
   symbol definition to be pulled out of library.  */
	.section	.data.retained_var,"awR"
	.global	retained_var
	.type	retained_var, %object
retained_var:
	.long bar

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