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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-m68hc11/] [bug-1417.s] - Rev 438

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

;;; Bug #1417:	Branch wrong after linker relaxation
;;; http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1417&group_id=2424
;;; 
	.sect .text
	.globl _start
_start:
	tst	table
	bne	L1		; Branch was adjusted but it must not
	jsr	foo
L1:
	.relax	L2
	ldx	#table		; Instruction removed
	bset	0,x #4		; Changed to bset *table #4
L2:
	rts
foo:
	rts
 
	.sect .page0
	.globl table
table:	.long 0
 

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.