1994-05-17 03:38:39 +08:00
|
|
|
cat <<EOF
|
|
|
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
|
|
|
OUTPUT_ARCH(${ARCH})
|
|
|
|
ENTRY("\$START\$")
|
|
|
|
${RELOCATING+${LIB_SEARCH_DIRS}}
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text ${RELOCATING+${TEXT_START_ADDR}}:
|
|
|
|
{
|
|
|
|
${RELOCATING+__text_start = .};
|
|
|
|
CREATE_OBJECT_SYMBOLS
|
|
|
|
*(.PARISC.stubs)
|
|
|
|
*(.text)
|
1994-11-17 01:06:20 +08:00
|
|
|
*(.PARISC.unwind)
|
1994-05-17 03:38:39 +08:00
|
|
|
${RELOCATING+etext = .};
|
|
|
|
${RELOCATING+_etext = .};
|
|
|
|
}
|
1994-11-17 01:06:20 +08:00
|
|
|
.data 0x40000000 :
|
1994-05-17 03:38:39 +08:00
|
|
|
{
|
|
|
|
${RELOCATING+ . = . + 0x1000 };
|
|
|
|
${RELOCATING+__data_start = .};
|
|
|
|
*(.data)
|
|
|
|
${CONSTRUCTING+CONSTRUCTORS}
|
|
|
|
${RELOCATING+edata = .};
|
|
|
|
${RELOCATING+_edata = .};
|
|
|
|
}
|
1994-11-17 01:06:20 +08:00
|
|
|
.bss 0x40000000 ${RELOCATING++SIZEOF(.data)} :
|
1994-05-17 03:38:39 +08:00
|
|
|
{
|
|
|
|
*(.bss)
|
|
|
|
*(COMMON)
|
|
|
|
${RELOCATING+end = . };
|
|
|
|
${RELOCATING+_end = . };
|
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|