old-cross-binutils/ld/scripttempl/hppaosf.sc
Ken Raeburn 4346166b07 From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>:
* emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA
ELF emulation is "elf32-hppa" not "elf-big".
(hppaosf_before_parse): Remove unneeded processing of environment variables.
* scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in
.text segment of output file.
* emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa.
1993-08-24 23:45:26 +00:00

30 lines
589 B
Scala

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
*(.hppa_linker_stubs)
*(.text)
}
.data ${RELOCATING+ 0x40000000 } :
{
${RELOCATING+__data_start = .};
${RELOCATING+ . = . + 0x1000 };
*(.data)
${CONSTRUCTING+CONSTRUCTORS}
}
.bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
{
*(.bss)
*(COMMON)
${RELOCATING+_end = . };
${RELOCATING+__end = . };
}
}
EOF