~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/ld/testsuite/ld-sh/sh64/shmix-1.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
        .align 2
 
14
        .long $
 
15
        .long start2
 
16
        .long mediacode2
 
17
 
 
18
        .data
 
19
        .long $
 
20
        .long start2
 
21
        .long mediacode2
 
22
 
 
23
        .section .text.media,"ax"
 
24
        .mode SHmedia
 
25
        .align 2
 
26
mediacode:
 
27
        ptb forw,tr4
 
28
        pt start2,tr5
 
29
mediacode2:
 
30
        movi start2,r54
 
31
        movi mediacode2,r45
 
32
        pta mediacode2,tr7
 
33
        nop