Source-Changes-HG archive

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

[src/trunk]: src/tools/binutils Adjust for 2.31.1



details:   https://anonhg.NetBSD.org/src/rev/0c9f7247baeb
branches:  trunk
changeset: 445634:0c9f7247baeb
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 07 01:14:19 2018 +0000

description:
Adjust for 2.31.1

diffstat:

 tools/binutils/Makefile          |  3 ++-
 tools/binutils/mknative-binutils |  5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r 73b91f9decd4 -r 0c9f7247baeb tools/binutils/Makefile
--- a/tools/binutils/Makefile   Wed Nov 07 01:13:51 2018 +0000
+++ b/tools/binutils/Makefile   Wed Nov 07 01:14:19 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.28 2018/05/01 19:59:46 christos Exp $
+#      $NetBSD: Makefile,v 1.29 2018/11/07 01:14:19 christos Exp $
 
 .include <bsd.hostinit.mk>
 
@@ -67,6 +67,7 @@
                        --build=`${GNUHOSTDIST}/config.guess` \
                        --host=${MACHINE_GNU_PLATFORM} \
                        --target=${MACHINE_GNU_PLATFORM} \
+                       --disable-initfini-array \
                        ${BRANDING} \
                )
        PATH=${TOOLDIR}/bin:$$PATH; export PATH; \
diff -r 73b91f9decd4 -r 0c9f7247baeb tools/binutils/mknative-binutils
--- a/tools/binutils/mknative-binutils  Wed Nov 07 01:13:51 2018 +0000
+++ b/tools/binutils/mknative-binutils  Wed Nov 07 01:14:19 2018 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp $
+#      $NetBSD: mknative-binutils,v 1.10 2018/11/07 01:14:19 christos Exp $
 #
 # Shell script for generating all the constants needed for a native
 # platform build of src/external/gpl3/binutils
@@ -22,7 +22,7 @@
        {
                getvars bfd/Makefile \
                        libbfd_la_DEPENDENCIES libbfd_la_OBJECTS DEFS \
-                       INCLUDES TDEFAULTS
+                       INCLUDES TDEFAULTS HAVEVECS
        } | write_mk external/gpl3/binutils/lib/libbfd/arch/$MACHINE_ARCH/defs.mk
 
        write_c external/gpl3/binutils/lib/libbfd/arch/$MACHINE_ARCH/bfd.h <$_TMPDIR/bfd/bfd.h
@@ -96,6 +96,7 @@
                 DEFS INCLUDES as_new_OBJECTS as_new_LDADD | 
        sed     -e s/G_as_new_OBJECTS/G_OBJS/ \
                -e s/G_as_new_LDADD=/G_OBJS+=/ \
+               -e s@config/@@ \
                -e 's/\.\..*a//' |
        write_mk external/gpl3/binutils/usr.bin/gas/arch/$MACHINE_ARCH/defs.mk
 



Home | Main Index | Thread Index | Old Index