aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-01-14 20:43:07 +0000
committerIan Lance Taylor <ian@airs.com>1994-01-14 20:43:07 +0000
commit8a432746ae26697e9de5d42d0ac7a27b45e54d3e (patch)
treeb00feca2c87a4a2262ca5b1eb10c725b61dca893 /ld/scripttempl
parent2919ae5a6ada61013bd6589dc4227ea2800499ec (diff)
downloadgdb-8a432746ae26697e9de5d42d0ac7a27b45e54d3e.zip
gdb-8a432746ae26697e9de5d42d0ac7a27b45e54d3e.tar.gz
gdb-8a432746ae26697e9de5d42d0ac7a27b45e54d3e.tar.bz2
Motorola Delta sysV68 support from phdm@info.ucl.ac.BE (Philippe
De Muyter). * configure.in (m68k-motorola-sysv*) New target. * config/delta68.mt: New file. * emulparams/delta68.sh: New file. * scripttempl/delta68.sc: New file. * Makefile.in (ALL_EMULATIONS): Added em_delta68.o. (em_delta68.c): New target.
Diffstat (limited to 'ld/scripttempl')
-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 = .;}
+}