Retro68/binutils/ld/testsuite/ld-sh/sh64/dlsection-1.s

18 lines
334 B
ArmAsm
Raw Normal View History

2012-03-26 19:18:29 +00:00
! 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