summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-arm/group-relocs-alu-bad.s
blob: e644669c3b9fc033de7f3617053c77a3a3fd14fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@ Test intended to fail for ALU group relocations.
@
@ Beware when editing this file: it is carefully crafted so that
@ a specific PC-relative offset arises.

@ We will place .text at 0x8000.

	.text
	.globl _start

_start:
	add r0, r0, #:pc_g0:(bar)

@ We will place the section foo at 0x9004.

	.section foo

bar:
	mov r0, #0