diff options
author | Alan Modra <amodra@gmail.com> | 2001-12-20 03:19:43 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-12-20 03:19:43 +0000 |
commit | 3695c2997d939be2c281d498c1b232805b4cb09b (patch) | |
tree | 6093b2e42d96b0ae84cbe30d95ab76ab146ca984 /ld | |
parent | 8bdcf8ca4dfb2990db6b4d63b159164c552cdab9 (diff) | |
download | gdb-3695c2997d939be2c281d498c1b232805b4cb09b.zip gdb-3695c2997d939be2c281d498c1b232805b4cb09b.tar.gz gdb-3695c2997d939be2c281d498c1b232805b4cb09b.tar.bz2 |
* 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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 8 | ||||
-rw-r--r-- | ld/Makefile.am | 6 | ||||
-rw-r--r-- | ld/Makefile.in | 6 | ||||
-rw-r--r-- | ld/configure.tgt | 5 | ||||
-rw-r--r-- | ld/emulparams/armelf_nbsd.sh | 6 |
5 files changed, 30 insertions, 1 deletions
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 <thorpej@wasabisystems.com> + + * 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 <aj@suse.de>, Susanne Oberhauser <froh@suse.de> 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 |