From: Alan Modra Date: Thu, 20 Dec 2001 03:19:43 +0000 (+0000) Subject: * configure.tgt (arm-*-netbsdelf*): Add target. X-Git-Tag: cygnus_cvs_20020108_pre~171 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3695c2997d939be2c281d498c1b232805b4cb09b;p=platform%2Fupstream%2Fbinutils.git * configure.tgt (arm-*-netbsdelf*): Add target. (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls. * emulparams/armelf_nbsd.sh: Added. * Makefile.am: Add rules for earmelf_nbsd. * Makefile.in: Regenerate. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 8646432..aa39516 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2001-12-20 Jason Thorpe + + * configure.tgt (arm-*-netbsdelf*): Add target. + (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls. + * emulparams/armelf_nbsd.sh: Added. + * Makefile.am: Add rules for earmelf_nbsd. + * Makefile.in: Regenerate. + 2001-12-19 Andreas Jaeger , Susanne Oberhauser diff --git a/ld/Makefile.am b/ld/Makefile.am index 4f1a06a..e06b682 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -118,6 +118,7 @@ ALL_EMULATIONS = \ earmcoff.o \ earmelf.o \ earmelf_linux.o \ + earmelf_nbsd.o \ earmelf_oabi.o \ earmnbsd.o \ earmpe.o \ @@ -359,6 +360,11 @@ earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)" +earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \ + $(srcdir)/emulparams/armelf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ + $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)" earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)" diff --git a/ld/Makefile.in b/ld/Makefile.in index 4f93e14..c4dbbc6 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -227,6 +227,7 @@ ALL_EMULATIONS = \ earmcoff.o \ earmelf.o \ earmelf_linux.o \ + earmelf_nbsd.o \ earmelf_oabi.o \ earmnbsd.o \ earmpe.o \ @@ -1080,6 +1081,11 @@ earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)" +earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \ + $(srcdir)/emulparams/armelf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ + $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)" earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)" diff --git a/ld/configure.tgt b/ld/configure.tgt index f24cf72..331b332 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -196,7 +196,10 @@ armeb-*-aout) targ_emul=armaoutb ;; arm-*-coff) targ_emul=armcoff ;; arm-*-vxworks) targ_emul=armcoff ;; arm-*-freebsd*) targ_emul=armelf ;; -arm-*-netbsd*) targ_emul=armnbsd ;; +arm-*-netbsdelf*) targ_emul=armelf_nbsd; + targ_extra_emuls="armelf armnbsd" ;; +arm-*-netbsd*) targ_emul=armnbsd; + targ_extra_emuls="armelf armelf_nbsd" ;; arm-*-openbsd*) targ_emul=armnbsd ;; arm-*-rtems*) targ_emul=armelf ;; arm-*-elf) targ_emul=armelf ;; diff --git a/ld/emulparams/armelf_nbsd.sh b/ld/emulparams/armelf_nbsd.sh new file mode 100644 index 0000000..571483c --- /dev/null +++ b/ld/emulparams/armelf_nbsd.sh @@ -0,0 +1,6 @@ +. ${srcdir}/emulparams/armelf.sh +MAXPAGESIZE=0x8000 +TEXT_START_ADDR=0x00008000 + +unset STACK_ADDR +unset EMBEDDED