]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/scripttempl/tic30aout.sc
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / ld / scripttempl / tic30aout.sc
CommitLineData
cdf91fe4
ILT
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