summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/bnd-ifunc-2.s
blob: 86470a2ba2025a5ff20bf84296fc8933e2316959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
	.text
	.globl	fct1
	.type	fct1, @gnu_indirect_function
	.set	fct1,resolve1
	.hidden int_fct1
	.globl	int_fct1
	.set	int_fct1,fct1
	.type	resolve1, @function
resolve1:
	call	func1@PLT
	.globl	g1
	.type	g1, @function
g1:
	jmp	int_fct1@PLT

	.globl	fct2
	.type	fct2, @gnu_indirect_function
	.set	fct2,resolve2
	.hidden int_fct2
	.globl	int_fct2
	.set	int_fct2,fct2
	.type	resolve2, @function
resolve2:
	call	func2@PLT
	.globl	g2
	.type	g2, @function
g2:
	jmp	int_fct2@PLT