Add support for DragonFlyBSD target.
[binutils.git] / ld / scripttempl / tic30aout.sc
blob28baed37e614fb74b786bd7d453a46a35ec9115e
1 cat <<EOF
2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3 OUTPUT_ARCH(${ARCH})
5 ${STACKZERO+${RELOCATING+${STACKZERO}}}
6 ${RELOCATING+PROVIDE (__stack = 0);}
7 SECTIONS
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   }
34 EOF