OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [arm/] [group-reloc-ldr-parsing-bad.s] - Rev 832

Go to most recent revision | Compare with Previous | Blame | View Log

@ Tests that are supposed to fail during parsing of LDR group relocations.
 
	.text
 
@ No NC variants exist for the LDR relocations.
 
	ldr	r0, [r0, #:pc_g0_nc:(f)]
	ldr	r0, [r0, #:pc_g1_nc:(f)]
	ldr	r0, [r0, #:sb_g0_nc:(f)]
	ldr	r0, [r0, #:sb_g1_nc:(f)]
 
	str	r0, [r0, #:pc_g0_nc:(f)]
	str	r0, [r0, #:pc_g1_nc:(f)]
	str	r0, [r0, #:sb_g0_nc:(f)]
	str	r0, [r0, #:sb_g1_nc:(f)]
 
	ldrb	r0, [r0, #:pc_g0_nc:(f)]
	ldrb	r0, [r0, #:pc_g1_nc:(f)]
	ldrb	r0, [r0, #:sb_g0_nc:(f)]
	ldrb	r0, [r0, #:sb_g1_nc:(f)]
 
	strb	r0, [r0, #:pc_g0_nc:(f)]
	strb	r0, [r0, #:pc_g1_nc:(f)]
	strb	r0, [r0, #:sb_g0_nc:(f)]
	strb	r0, [r0, #:sb_g1_nc:(f)]
 
@ Instructions with a gibberish relocation code.
 
	ldr	r0, [r0, #:foo:(f)]
	str	r0, [r0, #:foo:(f)]
	ldrb	r0, [r0, #:foo:(f)]
	strb	r0, [r0, #:foo:(f)]
 
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.