]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-arm/non-contiguous-arm6.ld
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-arm / non-contiguous-arm6.ld
1 /*
2 sections .code.1, .code.2 and .code.3 (+ farcall stub) fit in .raml
3 section .code.4 fits in .ramz
4 nothing fits in .ramu
5 */
6 MEMORY
7 {
8 RAML (rwx) : ORIGIN = 0x1FFF0000, LENGTH = 0x00030
9 RAMU (rwx) : ORIGIN = 0x30000000, LENGTH = 0x00010
10 RAMZ (rwx) : ORIGIN = 0x40040000, LENGTH = 0x00400
11 }
12
13 SECTIONS
14 {
15 .raml :
16 { _raml_start = . ;
17 *(.boot) ;
18 *(.code) *(.code.*) ;
19 _raml_end = . ;
20 } > RAML
21
22 .ramu : AT ( ADDR (.raml) + SIZEOF (.raml) )
23 { _ramu_start = . ;
24 *(.code) *(.code.*) ;
25 _ramu_end = . ;
26 } > RAMU
27
28 .ramz : AT ( ADDR (.ramu) + SIZEOF (.ramu) )
29 { _ramz_start = . ;
30 *(.code) *(.code.*) ;
31 _ramz_end = . ;
32 } > RAMZ
33 }