Patch from Roland McGrath <roland@baalperazim.frob.com>

Add arm-netbsd target.
This commit is contained in:
Nick Clifton 1999-08-24 15:17:23 +00:00
parent 021e3cc067
commit 8959586aab
5 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,13 @@
1999-08-24 Nick Clifton <nickc@cygnus.com>
From a patch submitted by Roland McGrath <roland@baalperazim.frob.com>
* configure.tgt (arm-*-netbsd*): New target.
* Makefile.am (ALL_EMULATIONS): Add earmnbsd.o.
(earmnbsd.c): New rule with deps.
* Makefile.on: Regenerate.
* emulparams/armnbsd.sh: New file.
1999-08-23 Nick Clifton <nickc@cygnus.com>
* emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Define.

View File

@ -108,6 +108,7 @@ ALL_EMULATIONS = \
earmaoutb.o \
earmaoutl.o \
earmcoff.o \
earmnbsd.o \
earmpe.o \
ecoff_sparc.o \
ed10velf.o \
@ -305,6 +306,9 @@ earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
$(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
${GENSCRIPTS} armcoff "$(tdir_armcoff)"
earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
earmpe.c: $(srcdir)/emulparams/armpe.sh \
$(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
${GENSCRIPTS} armpe "$(tdir_armpe)"

View File

@ -213,6 +213,7 @@ ALL_EMULATIONS = \
earmaoutb.o \
earmaoutl.o \
earmcoff.o \
earmnbsd.o \
earmpe.o \
ecoff_sparc.o \
ed10velf.o \
@ -1006,6 +1007,9 @@ earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
$(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
${GENSCRIPTS} armcoff "$(tdir_armcoff)"
earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
earmpe.c: $(srcdir)/emulparams/armpe.sh \
$(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
${GENSCRIPTS} armpe "$(tdir_armpe)"

View File

@ -128,6 +128,7 @@ a29k-*-*) targ_emul=a29k ;;
arm-*-aout | armel-*-aout) targ_emul=armaoutl ;;
armeb-*-aout) targ_emul=armaoutb ;;
arm-*-coff) targ_emul=armcoff ;;
arm-*-netbsd*) targ_emul=armnbsd ;;
arm-*-elf) targ_emul=armelf ;;
arm-*-oabi) targ_emul=armelf_oabi ;;
arm*-*-linux-gnu*) targ_emul=armelf_linux; targ_extra_emuls="armelf_linux26 armelf" ;;

7
ld/emulparams/armnbsd.sh Normal file
View File

@ -0,0 +1,7 @@
SCRIPT_NAME=aout
TEXT_START_ADDR=0x1020
OUTPUT_FORMAT="a.out-arm-netbsd"
TARGET_PAGE_SIZE=0x1000
ARCH=arm
EXECUTABLE_SYMBOLS='__DYNAMIC = 0;'
NONPAGED_TEXT_START_ADDR=0x1000