19990502 sourceware import
[deliverable/binutils-gdb.git] / ld / scripttempl / tic30aout.sc
CommitLineData
252b5132
RH
1cat <<EOF
2OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3OUTPUT_ARCH(${ARCH})
4
5${STACKZERO+${RELOCATING+${STACKZERO}}}
6${RELOCATING+PROVIDE (__stack = 0);}
7SECTIONS
8{
9 ${RELOCATING+. = ${TEXT_START_ADDR};}
10 .text :
11 {
12 CREATE_OBJECT_SYMBOLS
13 *(.text)
14 ${RELOCATING+_etext = .;}
15 ${RELOCATING+__etext = .;}
16 ${PAD_TEXT+${RELOCATING+. = ${DATA_ALIGNMENT};}}
17 }
18 ${RELOCATING+. = ${DATA_ALIGNMENT};}
19 .data :
20 {
21 *(.data)
22 ${RELOCATING+_edata = .;}
23 ${RELOCATING+__edata = .;}
24 }
25 .bss :
26 {
27 ${RELOCATING+ __bss_start = .};
28 *(.bss)
29 *(COMMON)
30 ${RELOCATING+_end = ALIGN(4) };
31 ${RELOCATING+__end = ALIGN(4) };
32 }
33}
34EOF
This page took 0.025183 seconds and 4 git commands to generate.