aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/locref3.s
blob: 7991097d99c67b3c06f802d7b582d5ee627eabdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; Test-case primarily from PR26589, which could have been locref3.d.
; A local (like "static") function, with all ELF decorations.
.text
 .type	alocalfunc,@function
 .p2align 1
alocalfunc:
	nop
.Lfe1:
	.size	alocalfunc,.Lfe1-alocalfunc

; Random absolute reference to the address of alocalfunc, requiring a
; runtime relocation in code that needs to be PIC/PIE.
 .data
 .dword alocalfunc