1992-02-15 23:07:15 +01:00
|
|
|
cat <<EOF
|
|
|
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
|
|
|
OUTPUT_ARCH(${ARCH})
|
|
|
|
|
|
|
|
${RELOCATING+${LIB_SEARCH_DIRS}}
|
|
|
|
${RELOCATING+__DYNAMIC = 0;}
|
1993-06-16 05:06:33 +02:00
|
|
|
${STACKZERO+${RELOCATING+${STACKZERO}}}
|
|
|
|
${SHLIB_PATH+${RELOCATING+${SHLIB_PATH}}}
|
1992-02-15 23:07:15 +01:00
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text ${RELOCATING+${TEXT_START_ADDR}}:
|
|
|
|
{
|
|
|
|
CREATE_OBJECT_SYMBOLS
|
|
|
|
*(.text)
|
|
|
|
${RELOCATING+_etext = ${DATA_ALIGNMENT};}
|
|
|
|
}
|
|
|
|
.data ${RELOCATING+${DATA_ALIGNMENT}} :
|
|
|
|
{
|
|
|
|
*(.data)
|
|
|
|
${CONSTRUCTING+CONSTRUCTORS}
|
|
|
|
${RELOCATING+_edata = .;}
|
|
|
|
}
|
|
|
|
.bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
|
|
|
|
{
|
1992-10-05 22:08:41 +01:00
|
|
|
${RELOCATING+ __bss_start = .};
|
1992-02-15 23:07:15 +01:00
|
|
|
*(.bss)
|
|
|
|
*(COMMON)
|
1992-03-02 23:22:59 +01:00
|
|
|
${RELOCATING+_end = . };
|
|
|
|
${RELOCATING+__end = . };
|
1992-02-15 23:07:15 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|