Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/ld Restore old netbsd emulation ...



details:   https://anonhg.NetBSD.org/src/rev/655b05f1c8a3
branches:  trunk
changeset: 343771:655b05f1c8a3
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Feb 26 14:34:06 2016 +0000

description:
Restore old netbsd emulation names, requested by joerg.

diffstat:

 external/gpl3/binutils/dist/ld/configure.tgt |  17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 8c57bf2e57c5 -r 655b05f1c8a3 external/gpl3/binutils/dist/ld/configure.tgt
--- a/external/gpl3/binutils/dist/ld/configure.tgt      Fri Feb 26 13:17:04 2016 +0000
+++ b/external/gpl3/binutils/dist/ld/configure.tgt      Fri Feb 26 14:34:06 2016 +0000
@@ -611,11 +611,26 @@
                        tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'`
                        tdir_elf32ppc_fbsd=$tdir_elf32ppc
                        ;;
+powerpc-*-netbsd*)
+                       targ_emul=elf32ppc_nbsd
+                       targ_extra_emuls="elf32ppc elf32ppcsim"
+                       targ_extra_libpath=elf32ppc;
+                       tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'`
+                       targ64_extra_emuls=elf64ppc
+                       targ64_extra_libpath=elf64ppc
+                       ;;
+powerpc64-*-netbsd*)
+                       targ_emul=elf64ppc
+                       targ_extra_emuls="elf32ppc elf32ppc_nbsd elf32ppcsim"
+                       targ_extra_libpath="elf32ppc_nbsd elf32ppc"
+                       tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'`
+                       tdir_elf32ppc_fbsd=$tdir_elf32ppc
+                       ;;
 powerpc-*-vxworks*)
                        targ_emul=elf32ppcvxworks
                        targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" ;;
 powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \
-  | powerpc*-*-linux* | powerpc*-*-netbsd* | powerpc*-*-openbsd* \
+  | powerpc*-*-linux* | powerpc*-*-openbsd* \
   | powerpc*-*-solaris* | powerpc*-*-kaos* | powerpc*-*-vxworks*)
                        case "${targ}" in
                        *64*)   targ_emul=elf64ppc



Home | Main Index | Thread Index | Old Index