1994-11-25 17:06:38 +00:00
|
|
|
cat <<EOF
|
|
|
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
|
|
|
OUTPUT_ARCH(${ARCH})
|
|
|
|
|
1994-11-26 00:17:52 +00:00
|
|
|
${RELOCATING+${LIB_SEARCH_DIRS}}
|
|
|
|
${RELOCATING+__DYNAMIC = 0;}
|
|
|
|
${STACKZERO+${RELOCATING+${STACKZERO}}}
|
|
|
|
${SHLIB_PATH+${RELOCATING+${SHLIB_PATH}}}
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text ${RELOCATING+${TEXT_START_ADDR}}:
|
|
|
|
{
|
|
|
|
CREATE_OBJECT_SYMBOLS
|
|
|
|
*(.text)
|
|
|
|
${RELOCATING+_etext = ${DATA_ALIGNMENT};}
|
|
|
|
}
|
|
|
|
.data ${RELOCATING+${DATA_ALIGNMENT}} :
|
1994-11-25 17:06:38 +00:00
|
|
|
{
|
1994-11-26 00:17:52 +00:00
|
|
|
*(.data)
|
|
|
|
${CONSTRUCTING+CONSTRUCTORS}
|
|
|
|
${RELOCATING+_edata = .;}
|
1994-12-06 02:04:58 +00:00
|
|
|
|
1994-11-26 00:17:52 +00:00
|
|
|
${RELOCATING+ __bss_start = .};
|
|
|
|
*(.bss)
|
|
|
|
*(COMMON)
|
|
|
|
${RELOCATING+_end = . };
|
|
|
|
${RELOCATING+__end = . };
|
1994-11-25 17:06:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|