aboutsummaryrefslogtreecommitdiff
path: root/ld/hppaosf.sc-sh
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-05-03 20:58:06 +0000
committerKen Raeburn <raeburn@cygnus>1993-05-03 20:58:06 +0000
commit55cb97d896538ad6ec4bacdb1dab89ae4a38db85 (patch)
treeae023aa2ae6addbccda39c8c5616e75dda919530 /ld/hppaosf.sc-sh
parent588cca9021a71debea4afda5e1b5bc0e1580bacc (diff)
downloadgdb-55cb97d896538ad6ec4bacdb1dab89ae4a38db85.zip
gdb-55cb97d896538ad6ec4bacdb1dab89ae4a38db85.tar.gz
gdb-55cb97d896538ad6ec4bacdb1dab89ae4a38db85.tar.bz2
hppa-osf(elf) support files
Diffstat (limited to 'ld/hppaosf.sc-sh')
-rw-r--r--ld/hppaosf.sc-sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/ld/hppaosf.sc-sh b/ld/hppaosf.sc-sh
new file mode 100644
index 0000000..30e3c6e
--- /dev/null
+++ b/ld/hppaosf.sc-sh
@@ -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