From fc18a3f3f5db106d82e04243518502dcb3e6bea6 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 17 Dec 2001 23:54:58 +0000 Subject: [PATCH] * Makefile.am: Add rules for eelf64alpha_nbsd. * Makefile.in: Regenerate. * configure.tgt (alpha*-*-netbsd*): Set targ_emul to elf64alpha_nbsd. * emulparams/elf64alpha_nbsd.sh: Added. --- ld/ChangeLog | 28 ++++++++++++++++++---------- ld/Makefile.am | 5 +++++ ld/Makefile.in | 5 +++++ ld/configure.tgt | 2 +- ld/emulparams/elf64alpha_nbsd.sh | 2 ++ 5 files changed, 31 insertions(+), 11 deletions(-) create mode 100644 ld/emulparams/elf64alpha_nbsd.sh diff --git a/ld/ChangeLog b/ld/ChangeLog index 06278a6514..84d524a0a3 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2001-12-17 Jason Thorpe + + * Makefile.am: Add rules for eelf64alpha_nbsd. + * Makefile.in: Regenerate. + * configure.tgt (alpha*-*-netbsd*): Set + targ_emul to elf64alpha_nbsd. + * emulparams/elf64alpha_nbsd.sh: Added. + 2001-12-17 Alan Modra * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust @@ -49,12 +57,12 @@ 2001-10-01 Christopher Faylor - * Makefile.in (LIB_PATH): Make configurable. - (GENSCRIPTS): Set LIB_PATH in environment. - * configure.in: Substitute LIB_PATH. - * configure: Regenerate. - * configure.tgt (*cygwin): Set LIB_PATH for cross build. - * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS. + * Makefile.in (LIB_PATH): Make configurable. + (GENSCRIPTS): Set LIB_PATH in environment. + * configure.in: Substitute LIB_PATH. + * configure: Regenerate. + * configure.tgt (*cygwin): Set LIB_PATH for cross build. + * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS. 2001-12-07 Nick Clifton @@ -68,10 +76,10 @@ statements describing a single option with a single, newline escaped fprintf. This allows better translation into other languages. - - * ldmain.c (add_archive_element): Combine multiple strings - into a single string to permit better translation into other - languages. + + * ldmain.c (add_archive_element): Combine multiple strings + into a single string to permit better translation into other + languages. 2001-12-05 Tom Rix diff --git a/ld/Makefile.am b/ld/Makefile.am index 54eeac6ef2..5b936ad611 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -263,6 +263,7 @@ ALL_64_EMULATIONS = \ eelf64_s390.o \ eelf64_sparc.o \ eelf64alpha.o \ + eelf64alpha_nbsd.o \ eelf64bmip.o \ eelf64btsmip.o \ eelf64ltsmip.o \ @@ -536,6 +537,10 @@ eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \ eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)" +eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \ + $(srcdir)/emulparams/elf64alpha.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)" eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \ $(srcdir)/emulparams/hppa64linux.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} diff --git a/ld/Makefile.in b/ld/Makefile.in index be78ca2615..e1d90b69eb 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -373,6 +373,7 @@ ALL_64_EMULATIONS = \ eelf64_s390.o \ eelf64_sparc.o \ eelf64alpha.o \ + eelf64alpha_nbsd.o \ eelf64bmip.o \ eelf64btsmip.o \ eelf64ltsmip.o \ @@ -1257,6 +1258,10 @@ eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \ eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)" +eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \ + $(srcdir)/emulparams/elf64alpha_nbsd.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)" eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \ $(srcdir)/emulparams/hppa64linux.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} diff --git a/ld/configure.tgt b/ld/configure.tgt index 5bfb5760f2..29c69e1a90 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -333,7 +333,7 @@ alpha*-*-linux-gnu*) targ_emul=elf64alpha targ_extra_emuls=alpha alpha*-*-osf*) targ_emul=alpha ;; alpha*-*-gnu*) targ_emul=elf64alpha ;; alpha*-*-netware*) targ_emul=alpha ;; -alpha*-*-netbsd*) targ_emul=elf64alpha ;; +alpha*-*-netbsd*) targ_emul=elf64alpha_nbsd ;; z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 ;; ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;; ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;; diff --git a/ld/emulparams/elf64alpha_nbsd.sh b/ld/emulparams/elf64alpha_nbsd.sh new file mode 100644 index 0000000000..8116f48b7c --- /dev/null +++ b/ld/emulparams/elf64alpha_nbsd.sh @@ -0,0 +1,2 @@ +. ${srcdir}/emulparams/elf64alpha.sh +ENTRY=__start