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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [sh/] [sh64/] [crange3.s] - Rev 816

Compare with Previous | Blame | View Log

! There was a bug in which a .cranges data hunk could include a hunk of
! code in front of it.  The following illustrates a function (start)
! followed by constants output into .rodata, followed by a function
! (continue), with a case-table (.L173) in it.  The bug included code from
! the start of the function (continue) into the case-table range descriptor.
 
	.text
	.mode SHmedia
start:
	nop
	.section .rodata
	.long 0xabcdef01
	.long 0x12345678
	.text
continue:
	nop
	nop
	nop
	.align 2
	.align 2
.L173:
	.word 0x0123
	.word 0x5678
	.word 0x1234
	.word 0x5678
	.word 0x1234
	.word 0x5678
	.word 0x1234
	.word 0xfede
	nop
	nop
	nop
	nop
	nop
 

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.