repo.or.cz
/
binutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
[binutils.git]
/
ld
/
testsuite
/
ld-sh
/
sh64
/
dlsection-1.s
blob
d83e6e1ebbd6b23e70d47ca9d786d05a4f661668
1
!
Test gc-sections
and
datalabel references.
2
!
3
!
Datalabel reference to symbol in section
.text2 should
4
!
prevent
.text2 from being discarded.
5
!
Section
.spurious can be discarded.
6
.mode SHmedia
7
8
.text
9
.global start
10
.global foo
11
start
:
.long datalabel foo
12
13
.section .text2,
"ax"
14
foo
:
.long 23
15
16
.section .spurious,
"ax"
17
.long 17