ld/
[binutils.git] / ld / scripttempl / dlx.sc
blobb222b33560030fd6f45b8e1b08f8e8543d726aae
1 cat <<EOF
2 OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
3               "${LITTLE_OUTPUT_FORMAT}")
4 OUTPUT_ARCH(${ARCH})
6 ${RELOCATING+${LIB_SEARCH_DIRS}}
7 SECTIONS
9   ${RELOCATING+. = ${TEXT_START_ADDR};}
10   .text :
11   {
12     CREATE_OBJECT_SYMBOLS
13     *(.text)
14     ${RELOCATING+etext = ${DATA_ALIGNMENT};}
15   }
16   ${RELOCATING+. = ${DATA_ALIGNMENT};}
17   .data :
18   {
19     *(.data)
20     ${CONSTRUCTING+CONSTRUCTORS}
21     ${RELOCATING+edata  =  .;}
22   }
23   .bss :
24   {
25    *(.bss)
26    *(COMMON)
27    ${RELOCATING+end = . };
28   }
30 EOF