mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
f60ec7acea
* ld-sh/sh64/shmix-3.s: Likewise. * ld-sh/sh64/mix1.sd: Update. * ld-sh/sh64/mix1.xd: Likewise. * ld-sh/sh64/mix1-noexp.sd: Likewise. * ld-sh/sh64/mix2.sd: Likewise. * ld-sh/sh64/mix2.xd: Likewise. * ld-sh/sh64/mix2-noexp.sd: Likewise.
34 lines
440 B
ArmAsm
34 lines
440 B
ArmAsm
! Check mixed-mode objects; different sections holding different ISA:s.
|
|
.mode SHcompact
|
|
.text
|
|
.global start
|
|
start:
|
|
bt forw
|
|
mova start2,r0
|
|
start2:
|
|
nop
|
|
nop
|
|
forw:
|
|
nop
|
|
.align 2
|
|
.long $
|
|
.long start2
|
|
.long mediacode2
|
|
|
|
.data
|
|
.long $
|
|
.long start2
|
|
.long mediacode2
|
|
|
|
.section .text.media,"ax"
|
|
.mode SHmedia
|
|
.align 2
|
|
mediacode:
|
|
ptb forw,tr4
|
|
pt start2,tr5
|
|
mediacode2:
|
|
movi start2,r54
|
|
movi mediacode2,r45
|
|
pta mediacode2,tr7
|
|
nop
|