* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-sh / sh64 / dlsection-1.s
blobd83e6e1ebbd6b23e70d47ca9d786d05a4f661668
1 ! Test gc-sections and datalabel references.
3 ! Datalabel reference to symbol in section .text2 should
4 ! prevent .text2 from being discarded.
5 ! Section .spurious can be discarded.
6 .mode SHmedia
8 .text
9 .global start
10 .global foo
11 start: .long datalabel foo
13 .section .text2,"ax"
14 foo: .long 23
16 .section .spurious,"ax"
17 .long 17