aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-vax-elf/plt-local-lib.s
blob: b05dcdf7eb0731737190e43a64a87beccb2586ab (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
	.text

	.globl	foo_extern
	.type	foo_extern, @function
foo_extern:
	.word	0
	calls	$0, foo_extern
	calls	$0, foo_global
	calls	$0, foo_local
	calls	$0, foo_hidden
	calls	$0, foo_rehidden
	ret
	.size	foo_extern, . - foo_extern

	.globl	foo_local
	.type	foo_local, @function
foo_local:
	.word	0
	calls	$0, foo_extern
	calls	$0, foo_global
	calls	$0, foo_local
	calls	$0, foo_hidden
	calls	$0, foo_rehidden
	ret
	.size	foo_local, . - foo_local

	.hidden	foo_hidden
	.globl	foo_hidden
	.type	foo_hidden, @function
foo_hidden:
	.word	0
	calls	$0, foo_extern
	calls	$0, foo_global
	calls	$0, foo_local
	calls	$0, foo_hidden
	calls	$0, foo_rehidden
	ret
	.size	foo_hidden, . - foo_hidden

	.globl	foo_rehidden
	.type	foo_rehidden, @function
foo_rehidden:
	.word	0
	calls	$0, foo_extern
	calls	$0, foo_global
	calls	$0, foo_local
	calls	$0, foo_hidden
	calls	$0, foo_rehidden
	ret
	.size	foo_rehidden, . - foo_rehidden