summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/emrelocs1.s
blob: 3e679aefde09e3453e6a04bf9d024defa3efaad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# emrelocs1.s: some external symbols to be used in relocations.

		.text
		.p2align 4

		# Pad things so addresses which are used for relocations
		# are non-zero.  Zero simply isn't as much fun.
		.word	0

		.globl ext_fun
		.ent ext_fun
ext_fun:	.word	1
		.end ext_fun


		.sdata
		.p2align 4

		# Padding here, for same reason.
		.word	0

		.globl	ext_var
ext_var:	.word	2