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
daily update
[binutils.git]
/
ld
/
testsuite
/
ld-sh
/
sh64
/
sh64-2.s
blob
8ca24c022debeff295c1c88dd435e29224580654
1
!
Test that all common kinds of relocs get right for simple cases.
2
!
Main part.
3
.text
4
.global start
5
.mode SHmedia
6
start
:
7
movi foo
,
r33
8
movi bar
,
r21
9
pt
/
l
bar
,
tr3
10
movi foobar
,
r43
11
movi baz2
,
r53
12
movi foobar2
,
r4
13
pta xyzzy
,
tr5
14
pt
/
u plugh
,
tr1
15
16
.data
17
.global foobar
18
foobar
:
.long baz
19
foobar2
:
20
.long bar
21
22
.section .text.other,
"ax"
23
.global xyzzy
24
xyzzy
:
25
nop
26
plugh
:
27
nop