blob: d83e6e1ebbd6b23e70d47ca9d786d05a4f661668 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
! 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
|