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
* ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
[binutils.git]
/
ld
/
testsuite
/
ld-sh
/
sh64
/
shmix-1.s
blob
0320b62402ed81777d7a8b6cceeea0d0c0e08640
1
!
Check mixed-mode objects; different sections holding different ISA
:
s.
2
.mode SHcompact
3
.text
4
.global start
5
start
:
6
bt
forw
7
mova start2
,
r0
8
start2
:
9
nop
10
nop
11
forw
:
12
nop
13
.long $
14
.long start2
15
.long mediacode2
16
17
.data
18
.long $
19
.long start2
20
.long mediacode2
21
22
.section .text.media,
"ax"
23
.mode SHmedia
24
.align 2
25
mediacode
:
26
ptb forw
,
tr4
27
pt start2
,
tr5
28
mediacode2
:
29
movi start2
,
r54
30
movi mediacode2
,
r45
31
pta mediacode2
,
tr7
32
nop