diff --git a/ld/config/m68k-elf.mt b/ld/config/m68k-elf.mt new file mode 100644 index 0000000000..44da123cf9 --- /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 0000000000..13439d2610 --- /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