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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-sh/] [sh64/] [dlsection-1.s] - Rev 859

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

! Test gc-sections and datalabel references.
!
! Datalabel reference to symbol in section .text2 should
! prevent .text2 from being discarded.
! Section .spurious can be discarded.
	.mode SHmedia
 
	.text
	.global start
	.global foo
start:	.long datalabel foo
 
	.section .text2,"ax"
foo:	.long 23
 
	.section .spurious,"ax"
	.long 17
 

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.