~angelsl/ubuntu/wily/binutils/mips-cross

« back to all changes in this revision

Viewing changes to ld/testsuite/ld-sh/sh64/crange-2b.s

  • Committer: angelsl
  • Date: 2015-11-03 15:54:40 UTC
  • Revision ID: angelsl-20151103155440-gbh6qo1olzlvaiqs
Import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
! Initially three separate sections, one with SHmedia and constants, one with
 
2
! SHcompact, and yet another with SHmedia.  Two .cranges sections
 
3
! generated by the assembler; two more needed at link time, as they will be
 
4
! consolidated into the same section, and mixed with a file with
 
5
! assembler-generated .cranges only and one without any .cranges.
 
6
 
 
7
        .section .text.shmedia,"ax"
 
8
        .mode SHmedia
 
9
        .align 2
 
10
sec1:
 
11
        nop
 
12
        nop
 
13
        nop
 
14
        nop
 
15
sec2:
 
16
        .long 41
 
17
        .long 43
 
18
        .long 42
 
19
        .long 43
 
20
        .long 42
 
21
 
 
22
        .section .text.shcompact,"ax"
 
23
        .align 1
 
24
        .mode SHcompact
 
25
sec3:
 
26
        nop
 
27
        nop
 
28
        nop
 
29
 
 
30
        .section .text.shmedia2,"ax"
 
31
        .align 2
 
32
sec4:
 
33
        .mode SHmedia
 
34
        nop
 
35
        nop
 
36
        nop
 
37
        nop
 
38
        nop
 
39
        nop