1cat <<EOF
2OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
3	      "${LITTLE_OUTPUT_FORMAT}")
4OUTPUT_ARCH(${ARCH})
5
6${RELOCATING+${LIB_SEARCH_DIRS}}
7SECTIONS
8{
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  }
29}
30EOF
31