Upload Tizen:Base source
[external/binutils.git] / ld / testsuite / ld-scripts / rgn-over3.t
1 /* Memory region overflow tests: two regions, each too small for the single
2    section placed there. */
3
4 MEMORY {
5   bss (rwx) : ORIGIN = 0, LENGTH = 0
6   r1  (rwx) : ORIGIN = 0x1000, LENGTH = 8
7   r2  (rwx) : ORIGIN = 0x2000, LENGTH = 8
8 }
9 _start = 0x1000;
10 SECTIONS {
11   .bss  : { *(.bss)  } > bss
12   .text : { *(.txt) } > r1
13   .data : { *(.dat) } > r2
14   /DISCARD/ : { *(*) }
15 }