diff options
Diffstat (limited to 'ld/scripttempl/hppaosf.sc')
-rw-r--r-- | ld/scripttempl/hppaosf.sc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ld/scripttempl/hppaosf.sc b/ld/scripttempl/hppaosf.sc new file mode 100644 index 0000000..30e3c6e --- /dev/null +++ b/ld/scripttempl/hppaosf.sc @@ -0,0 +1,29 @@ +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 + *(.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 |