summaryrefslogtreecommitdiffstats
path: root/gas/testsuite/gas/arm/offset.s
blob: 53d567def2d431244a47d8da73d14e23252ab84e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
	@ test that an OFFSET_IMM reloc against a global symbol is
	@ still resolved by the assembler, as long as the symbol is in
	@ the same section as the reference
	.text
	.globl l
	.globl foo
l:
	ldr r0, foo
foo:
	nop

	@ pad section for a.out's benefit
	nop
	nop
OpenPOWER on IntegriCloud