Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/binutils Reapply following changes to binutils...



details:   https://anonhg.NetBSD.org/src/rev/0a12093abf1f
branches:  trunk
changeset: 814082:0a12093abf1f
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Sun Mar 06 09:38:08 2016 +0000

description:
Reapply following changes to binutils 2.26 to fix PR toolchain/48630.

http://mail-index.netbsd.org/source-changes/2014/03/10/msg052578.html
http://mail-index.netbsd.org/source-changes/2014/03/10/msg052579.html

diffstat:

 external/gpl3/binutils/dist/bfd/config.bfd           |  1 +
 external/gpl3/binutils/lib/libbfd/arch/sparc/bfd.h   |  2 +-
 external/gpl3/binutils/lib/libbfd/arch/sparc/defs.mk |  2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r e5fce52d4016 -r 0a12093abf1f external/gpl3/binutils/dist/bfd/config.bfd
--- a/external/gpl3/binutils/dist/bfd/config.bfd        Sun Mar 06 07:33:25 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/config.bfd        Sun Mar 06 09:38:08 2016 +0000
@@ -1559,6 +1559,7 @@
   sparc-*-netbsdelf*)
     targ_defvec=sparc_elf32_vec
     targ_selvecs=sparc_aout_nbsd_vec
+    want64=true
     ;;
   sparc-*-netbsdaout* | sparc-*-netbsd*)
     targ_defvec=sparc_aout_nbsd_vec
diff -r e5fce52d4016 -r 0a12093abf1f external/gpl3/binutils/lib/libbfd/arch/sparc/bfd.h
--- a/external/gpl3/binutils/lib/libbfd/arch/sparc/bfd.h        Sun Mar 06 07:33:25 2016 +0000
+++ b/external/gpl3/binutils/lib/libbfd/arch/sparc/bfd.h        Sun Mar 06 09:38:08 2016 +0000
@@ -87,7 +87,7 @@
 /* The word size used by BFD on the host.  This may be 64 with a 32
    bit target if the host is 64 bit, or if other 64 bit targets have
    been selected with --enable-targets, or if --enable-64-bit-bfd.  */
-#define BFD_ARCH_SIZE 32
+#define BFD_ARCH_SIZE 64
 
 /* The word size of the default bfd target.  */
 #define BFD_DEFAULT_TARGET_SIZE 32
diff -r e5fce52d4016 -r 0a12093abf1f external/gpl3/binutils/lib/libbfd/arch/sparc/defs.mk
--- a/external/gpl3/binutils/lib/libbfd/arch/sparc/defs.mk      Sun Mar 06 07:33:25 2016 +0000
+++ b/external/gpl3/binutils/lib/libbfd/arch/sparc/defs.mk      Sun Mar 06 09:38:08 2016 +0000
@@ -2,7 +2,7 @@
 # Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp 
 # Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp 
 #
-G_libbfd_la_DEPENDENCIES=elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo dwarf2.lo sparcnetbsd.lo aout32.lo elf32-gen.lo 
plugin.lo cpu-sparc.lo cpu-plugin.lo netbsd-core.lo ofiles
+G_libbfd_la_DEPENDENCIES=elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo dwarf2.lo sparcnetbsd.lo aout32.lo elf32-gen.lo 
plugin.lo cpu-sparc.lo cpu-plugin.lo netbsd-core.lo archive64.lo ofiles
 G_libbfd_la_OBJECTS=archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo  cache.lo coff-bfd.lo compress.lo corefile.lo format.lo hash.lo  init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo  
section.lo simple.lo stab-syms.lo stabs.lo syms.lo targets.lo  binary.lo ihex.lo srec.lo tekhex.lo verilog.lo
 G_DEFS=-DHAVE_CONFIG_H
 G_INCLUDES=-DNETBSD_CORE    -I. -I${GNUHOSTDIST}/bfd -I${GNUHOSTDIST}/bfd/../include   -DHAVE_sparc_elf32_vec -DHAVE_sparc_aout_nbsd_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec 
-I./../intl



Home | Main Index | Thread Index | Old Index