aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-04-14 20:33:05 +0000
committerKen Raeburn <raeburn@cygnus>1995-04-14 20:33:05 +0000
commitbd1a093d78b5f4228d8e158fec940add5ea9ed19 (patch)
treefefe891c28c2c59abf6147b4d896b4e1644d1033 /ld
parent1b283698a792c9848fc507e3a8c1a420881d0e3c (diff)
downloadgdb-bd1a093d78b5f4228d8e158fec940add5ea9ed19.zip
gdb-bd1a093d78b5f4228d8e158fec940add5ea9ed19.tar.gz
gdb-bd1a093d78b5f4228d8e158fec940add5ea9ed19.tar.bz2
* Makefile.in (ALL_EMULATIONS): Added em68kelf.o.
(em68kelf.o): New target. * config/m68k-elf.mt, emulparams/m68kelf.sh: New files. * configure.in: Use them for m68*-*-elf.
Diffstat (limited to 'ld')
-rw-r--r--ld/config/m68k-elf.mt1
-rw-r--r--ld/emulparams/m68kelf.sh11
2 files changed, 12 insertions, 0 deletions
diff --git a/ld/config/m68k-elf.mt b/ld/config/m68k-elf.mt
new file mode 100644
index 0000000..44da123
--- /dev/null
+++ b/ld/config/m68k-elf.mt
@@ -0,0 +1 @@
+EMUL=m68kelf
diff --git a/ld/emulparams/m68kelf.sh b/ld/emulparams/m68kelf.sh
new file mode 100644
index 0000000..13439d2
--- /dev/null
+++ b/ld/emulparams/m68kelf.sh
@@ -0,0 +1,11 @@
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-m68k"
+TEXT_START_ADDR=0x80000100
+MAXPAGESIZE=0x2000
+NONPAGED_TEXT_START_ADDR=${TEXT_START_ADDR}
+ARCH=m68k
+TEMPLATE_NAME=elf32
+DYNAMIC_LINK=false
+# We can't do dynamic linking yet, but the elf code requires that
+# the script exist...
+GENERATE_SHLIB_SCRIPT=yes