gdb: LoongArch: Improve the handling of atomic sequence
[binutils-gdb.git] / ld / testsuite / ld-arm / non-contiguous-arm2.ld
blobf13567e944df209c0a9ab9f7d1ed8622ae8554e2
1 /*
2  sections .code.1 and .code.2 fit in .raml
3  section .code.3 fits in .ramu and does not need a farcall stub to jump to code4
4  section .code.4 fits in .ramz
5 */
6 MEMORY
8   RAML (rwx) : ORIGIN = 0x1FFF0000, LENGTH = 0x0001c
9   RAMU (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00008
10   RAMZ (rwx) : ORIGIN = 0x20040000, LENGTH = 0x00400
13 SECTIONS
15    .raml :
16    {  _raml_start = . ;
17       *(.boot) ;
18       *(.code) *(.code.*) ;
19       _raml_end = . ;
20    } > RAML
22    .ramu : AT ( ADDR (.raml) + SIZEOF (.raml) )
23    {  _ramu_start = . ;
24       *(.code) *(.code.*) ;
25       _ramu_end = . ;
26    } > RAMU
28    .ramz : AT ( ADDR (.ramu) + SIZEOF (.ramu) )
29    {  _ramz_start = . ;
30       *(.code) *(.code.*) ;
31      _ramz_end = . ;
32    } > RAMZ