summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/arm/group-reloc-alu-parsing-bad.s
blob: 70a62acefa6004a309df8e29928c6ccaa24c957c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
@ Tests that should fail for ALU group relocations.

	.text

@ Group relocs aren't allowed on SUB(S) instructions...
	sub	r0, r0, #:pc_g0:(foo)
	subs	r0, r0, #:pc_g0:(foo)

@ Some nonexistent relocations:
	add	r0, r0, #:pc_g2_nc:(foo)
	add	r0, r0, #:sb_g2_nc:(foo)