aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/delta68.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/delta68.sc')
-rw-r--r--ld/scripttempl/delta68.sc27
1 files changed, 27 insertions, 0 deletions
diff --git a/ld/scripttempl/delta68.sc b/ld/scripttempl/delta68.sc
new file mode 100644
index 0000000..753d32a
--- /dev/null
+++ b/ld/scripttempl/delta68.sc
@@ -0,0 +1,27 @@
+# Linker script for Motorola Delta sysV68 R3V7.1
+cat <<EOF
+OUTPUT_FORMAT("${OUTPUT_FORMAT}")
+OUTPUT_ARCH(${ARCH})
+${LIB_SEARCH_DIRS}
+
+ENTRY(_start)
+
+SECTIONS
+{
+ .text ${TEXT_START_ADDR} : {
+ *(.init)
+ *(.text)
+ *(.fini)
+ }
+ ${RELOCATING+ etext = .;}
+ .data ${RELOCATING+ 0x400000 + (. & 0xfff)} : {
+ *(.data .data2)
+ }
+ ${RELOCATING+ edata = .;}
+ .bss . :
+ {
+ *(.bss)
+ *(COMMON)
+ }
+ ${RELOCATING+ end = .;}
+}