SEGMENT_OVERLAPS: Check that LMAs overlap as well.
[binutils.git] / ld / scripttempl / ebmon29k.sc
blob62050ee2170154386c4251b9dd377a1292d6c658
1 cat <<EOF
2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3 ENTRY(start)
5 SECTIONS {
6   .text ${RELOCATING+${TEXT_START_ADDR}} : 
7     {
8         *(.text);
9         ${RELOCATING+_etext = .};
10     }
11   data ${RELOCATING+0x80002000} :
12     {
13         *(.data);
14         *(.mstack); 
15         *(.shbss);
16         *(.rstack);
17         *(.mstack);
18         ${CONSTRUCTING+CONSTRUCTORS}
19     }
20   .bss  . :
21     { 
22         *(COMMON)       
23         *(.bss);
24         ${RELOCATING+_end = .};
25     } 
27 EOF