Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.69 2015/06/09 20:24:39 ryoon Exp $
# $NetBSD: Makefile,v 1.74 2016/08/15 19:29:13 ryoon Exp $
DISTNAME= binutils-2.25
DISTNAME= binutils-2.26.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
+6 -1
View File
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.common,v 1.25 2015/06/17 14:02:40 sborrill Exp $
@comment $NetBSD: PLIST.common,v 1.27 2016/02/03 18:40:18 jperkin Exp $
${MACHINE_GNU_PLATFORM}/bin/ar
${MACHINE_GNU_PLATFORM}/bin/as
${MACHINE_GNU_PLATFORM}/bin/ld
@@ -8,6 +8,7 @@ ${MACHINE_GNU_PLATFORM}/bin/nm
${MACHINE_GNU_PLATFORM}/bin/objcopy
${MACHINE_GNU_PLATFORM}/bin/objdump
${MACHINE_GNU_PLATFORM}/bin/ranlib
${MACHINE_GNU_PLATFORM}/bin/readelf
${MACHINE_GNU_PLATFORM}/bin/strip
${PLIST.gold}bin/gdwp
bin/gaddr2line
@@ -100,6 +101,7 @@ man/man1/gwindres.1
share/locale/bg/LC_MESSAGES/binutils.mo
${PLIST.gprof}share/locale/bg/LC_MESSAGES/gprof.mo
share/locale/bg/LC_MESSAGES/ld.mo
share/locale/ca/LC_MESSAGES/binutils.mo
share/locale/da/LC_MESSAGES/bfd.mo
share/locale/da/LC_MESSAGES/binutils.mo
${PLIST.gprof}share/locale/da/LC_MESSAGES/gprof.mo
@@ -125,6 +127,7 @@ share/locale/fi/LC_MESSAGES/opcodes.mo
share/locale/fr/LC_MESSAGES/bfd.mo
share/locale/fr/LC_MESSAGES/binutils.mo
share/locale/fr/LC_MESSAGES/gas.mo
${PLIST.gold}share/locale/fr/LC_MESSAGES/gold.mo
${PLIST.gprof}share/locale/fr/LC_MESSAGES/gprof.mo
share/locale/fr/LC_MESSAGES/ld.mo
share/locale/fr/LC_MESSAGES/opcodes.mo
@@ -194,6 +197,8 @@ share/locale/vi/LC_MESSAGES/ld.mo
share/locale/vi/LC_MESSAGES/opcodes.mo
share/locale/zh_CN/LC_MESSAGES/bfd.mo
share/locale/zh_CN/LC_MESSAGES/binutils.mo
share/locale/zh_CN/LC_MESSAGES/gas.mo
${PLIST.gold}share/locale/zh_CN/LC_MESSAGES/gold.mo
share/locale/zh_CN/LC_MESSAGES/ld.mo
share/locale/zh_CN/LC_MESSAGES/opcodes.mo
${PLIST.gprof}share/locale/vi/LC_MESSAGES/gprof.mo
+20 -19
View File
@@ -1,20 +1,21 @@
$NetBSD: distinfo,v 1.24 2015/09/03 20:55:55 sevan Exp $
$NetBSD: distinfo,v 1.30 2016/08/15 19:29:13 ryoon Exp $
SHA1 (binutils-2.25.tar.bz2) = b46cc90ebaba7ffcf6c6d996d60738881b14e50d
RMD160 (binutils-2.25.tar.bz2) = af6f54aa304d4840e1b1a3bd8a4cd165b30f9c1e
Size (binutils-2.25.tar.bz2) = 24049133 bytes
SHA1 (patch-aa) = 1a127f82c807cbd1ac6fee073c618f3fb48667f6
SHA1 (patch-bfd_cache.c) = db48182cee9f0bf16fbefca260b542171f0ef596
SHA1 (patch-bfd_config.bfd) = 4383d7dc10996e0f14f4ad0e80ac9c56f01df5ea
SHA1 (patch-bfd_configure) = 3beac7243447be24c28ec5f6451e43c05d460787
SHA1 (patch-bfd_configure.ac) = cfff26cead0f2727503eac7d3338150837e88a0b
SHA1 (patch-configure.ac) = 7bd7b90e57d850705286f2cc6464ecc45e0657c0
SHA1 (patch-gas_configure) = 2365091529f5444c8c3a0615304cd4a2b043625c
SHA1 (patch-gas_configure.tgt) = 15089d02437af6d3130d33367d93414b0d96a7ff
SHA1 (patch-gold_Makefile.in) = ca87f7589025752713127110cbf9738f1080b62a
SHA1 (patch-gold_options.h) = 3a1f9f59a1ce105f8f8d5a09fe60e0fe673b61a9
SHA1 (patch-gold_resolve.cc) = 7e6c45cafddc73a4195c4bdacc43102a0fde3c13
SHA1 (patch-gold_system.h) = 68655247b884cd520daf6a98cbc3f365396049bd
SHA1 (patch-include_safe-ctype.h) = 480c46b1528f623435e9b52b7ba8247745e4e254
SHA1 (patch-ld_configure.tgt) = 7b6c20bf268edee913ed4e421e62ac33409ec403
SHA1 (patch-libiberty_Makefile.in) = fd07f4fafe6c25e9ab65c65ec3807c89bfd9f0b5
SHA1 (binutils-2.26.1.tar.bz2) = 624cd377e3a8eef3db83a56ce289a60f556b3ec2
RMD160 (binutils-2.26.1.tar.bz2) = a4933fbd12056edc1933d3a5379cd7a2cffef185
SHA512 (binutils-2.26.1.tar.bz2) = 9d9165609fd3b0f20d616f9891fc8e2b466eb13e2bfce40125e12427f8f201d20e2b8322bb6cb2b45e8df812f0e8ac059149f8a1f69ba3ed9d86a35c6a540b67
Size (binutils-2.26.1.tar.bz2) = 25595243 bytes
SHA1 (patch-aa) = e748bbffa21146cf5c0c50c912f1d84c411fd55c
SHA1 (patch-bfd_cache.c) = 20988e84ff2a1d7ff83b5adb04e4f117953205b8
SHA1 (patch-bfd_config.bfd) = 2ca06a7755dffd88344df72206917befff12ae91
SHA1 (patch-bfd_configure) = 37777852c63bb5b13c76f4085f1e43d50ce88920
SHA1 (patch-bfd_configure.ac) = 742e4c118f6a00b646799862172ffa70a867cf0f
SHA1 (patch-bfd_elf32-arm.c) = 8d90dd77cb4925db71def94d2d32cbe3e1cfb69e
SHA1 (patch-configure.ac) = 1524f06882f41012ef2bbf960739a4f1f03659c4
SHA1 (patch-gas_configure.tgt) = 056713626741047d7aba48fe29c471e294a0446d
SHA1 (patch-gold_Makefile.in) = aef43853a28450c496cc39a70d18f4cb1911ee3d
SHA1 (patch-gold_options.h) = 71b28e8090df0a431354cc47b2897979773b8bd6
SHA1 (patch-gold_resolve.cc) = d93ce96cf97289f8947707f4ff3f5a837d8cb4de
SHA1 (patch-gold_system.h) = 9151878fe25dfee33f839cd63e465d30481dda7a
SHA1 (patch-include_safe-ctype.h) = d0fcfb2830f0c90816f63906f618a1d6df010a9f
SHA1 (patch-ld_configure.tgt) = 06ac3cbb3c397123a6a4a3fdb19828f074282c60
SHA1 (patch-libiberty_Makefile.in) = 59c479e6fe491e17837d421f5b4b25a81dc5e7c9
+6 -6
View File
@@ -1,15 +1,15 @@
$NetBSD: patch-aa,v 1.5 2012/07/23 12:24:34 jperkin Exp $
$NetBSD: patch-aa,v 1.6 2016/01/30 22:15:11 ryoon Exp $
Remove etc
--- configure.orig 2011-08-14 21:28:15.000000000 +0900
+++ configure 2012-02-13 10:34:04.000000000 +0900
@@ -2667,7 +2667,7 @@
--- configure.orig 2015-11-13 08:27:41.000000000 +0000
+++ configure
@@ -2733,7 +2733,7 @@ host_libs="intl libiberty opcodes bfd re
# binutils, gas and ld appear in that order because it makes sense to run
# "make check" in that particular order.
# If --enable-gold is used, "gold" may replace "ld".
-host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
+host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof expect dejagnu m4 utils guile fastjar gnattools"
-host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
+host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
# libgcj represents the runtime libraries only used by gcj.
libgcj="target-libffi \
+2 -12
View File
@@ -1,9 +1,9 @@
$NetBSD: patch-bfd_cache.c,v 1.3 2015/06/09 20:24:39 ryoon Exp $
$NetBSD: patch-bfd_cache.c,v 1.4 2016/01/30 22:15:11 ryoon Exp $
Fix sign-compare on SunOS.
Handle 256 file descriptor limit in 32-bit SunOS environment.
--- bfd/cache.c.orig 2014-10-14 07:32:02.000000000 +0000
--- bfd/cache.c.orig 2016-01-25 08:51:06.000000000 +0000
+++ bfd/cache.c
@@ -50,6 +50,10 @@ SUBSECTION
#include <sys/mman.h>
@@ -16,13 +16,3 @@ Handle 256 file descriptor limit in 32-bit SunOS environment.
/* In some cases we can optimize cache operation when reopening files.
For instance, a flush is entirely unnecessary if the file is already
closed, so a flush would use CACHE_NO_OPEN. Similarly, a seek using
@@ -90,6 +94,9 @@ bfd_cache_max_open (void)
#else
max = 10;
#endif /* _SC_OPEN_MAX */
+#if defined(__sun) && !defined(_LP64)
+ max = max > (OPEN_MAX / 8) ? (OPEN_MAX / 8) : max;
+#endif
max_open_files = max < 10 ? 10 : max;
}
+8 -8
View File
@@ -1,25 +1,25 @@
$NetBSD: patch-bfd_config.bfd,v 1.1 2015/09/03 20:55:55 sevan Exp $
$NetBSD: patch-bfd_config.bfd,v 1.2 2016/01/30 22:15:11 ryoon Exp $
Add Bitrig/amd64 support
https://sourceware.org/bugzilla/show_bug.cgi?id=18920
--- bfd/config.bfd.orig Thu Sep 3 16:46:04 2015
--- bfd/config.bfd.orig 2015-11-13 08:27:40.000000000 +0000
+++ bfd/config.bfd
@@ -615,7 +620,7 @@ case "${targ}" in
targ_selvecs="i386_elf32_vec i386_aout_bsd_vec"
@@ -635,7 +635,7 @@ case "${targ}" in
targ_selvecs="i386_elf32_vec iamcu_elf32_vec i386_aout_bsd_vec"
targ_underscore=yes
;;
- i[3-7]86-*-openbsd*)
+ i[3-7]86-*-openbsd* | i[3-7]86-*-bitrig*)
targ_defvec=i386_elf32_vec
targ_selvecs=i386_aout_nbsd_vec
targ_selvecs="iamcu_elf32_vec i386_aout_nbsd_vec"
;;
@@ -666,7 +671,7 @@ case "${targ}" in
targ_selvecs="i386_elf32_fbsd_vec i386_coff_vec i386_pei_vec x86_64_pei_vec i386_elf32_vec x86_64_elf64_vec l1om_elf64_vec l1om_elf64_fbsd_vec k1om_elf64_vec k1om_elf64_fbsd_vec"
@@ -690,7 +690,7 @@ case "${targ}" in
targ_selvecs="i386_elf32_fbsd_vec iamcu_elf32_vec i386_coff_vec i386_pei_vec x86_64_pei_vec i386_elf32_vec x86_64_elf64_vec l1om_elf64_vec l1om_elf64_fbsd_vec k1om_elf64_vec k1om_elf64_fbsd_vec"
want64=true
;;
- x86_64-*-netbsd* | x86_64-*-openbsd*)
+ x86_64-*-netbsd* | x86_64-*-openbsd* | x86_64-*-bitrig*)
targ_defvec=x86_64_elf64_vec
targ_selvecs="i386_elf32_vec i386_aout_nbsd_vec i386_coff_vec i386_pei_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec"
targ_selvecs="i386_elf32_vec iamcu_elf32_vec i386_aout_nbsd_vec i386_coff_vec i386_pei_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec"
want64=true
+3 -3
View File
@@ -1,11 +1,11 @@
$NetBSD: patch-bfd_configure,v 1.1 2015/09/03 20:55:55 sevan Exp $
$NetBSD: patch-bfd_configure,v 1.2 2016/02/03 19:56:34 jperkin Exp $
Add Bitrig/amd64 support
https://sourceware.org/bugzilla/show_bug.cgi?id=18920
--- bfd/configure.orig Thu Sep 3 16:43:37 2015
--- bfd/configure.orig 2016-01-25 08:54:07.000000000 +0000
+++ bfd/configure
@@ -14175,7 +14175,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$
@@ -14133,7 +14133,7 @@ rm -f core conftest.err conftest.$ac_obj
x86_64-*-linux*)
CORE_HEADER='"hosts/x86-64linux.h"'
;;
@@ -1,11 +1,11 @@
$NetBSD: patch-bfd_configure.ac,v 1.1 2015/09/03 20:55:55 sevan Exp $
$NetBSD: patch-bfd_configure.ac,v 1.2 2016/02/03 19:56:34 jperkin Exp $
Add Bitrig/amd64 support
https://sourceware.org/bugzilla/show_bug.cgi?id=18920
--- bfd/configure.ac.orig Thu Sep 3 16:39:03 2015
--- bfd/configure.ac.orig 2015-11-13 08:27:40.000000000 +0000
+++ bfd/configure.ac
@@ -311,7 +311,7 @@ changequote([,])dnl
@@ -313,7 +313,7 @@ changequote([,])dnl
TRAD_HEADER='"hosts/i386bsd.h"'
;;
changequote(,)dnl
@@ -14,7 +14,7 @@ https://sourceware.org/bugzilla/show_bug.cgi?id=18920
changequote([,])dnl
COREFILE=netbsd-core.lo
;;
@@ -485,7 +485,7 @@ changequote([,])dnl
@@ -488,7 +488,7 @@ changequote([,])dnl
x86_64-*-linux*)
CORE_HEADER='"hosts/x86-64linux.h"'
;;
@@ -0,0 +1,22 @@
$NetBSD: patch-bfd_elf32-arm.c,v 1.1 2016/01/30 22:15:11 ryoon Exp $
Resolve popcount(3) conflict on NetBSD
--- bfd/elf32-arm.c.orig 2016-01-25 08:51:06.000000000 +0000
+++ bfd/elf32-arm.c
@@ -3133,6 +3133,7 @@ ctz (unsigned int mask)
#endif
}
+#if !defined(__NetBSD__)
static inline int
popcount (unsigned int mask)
{
@@ -3150,6 +3151,7 @@ popcount (unsigned int mask)
return sum;
#endif
}
+#endif
/* Create an entry in an ARM ELF linker hash table. */
+6 -6
View File
@@ -1,15 +1,15 @@
$NetBSD: patch-configure.ac,v 1.1 2012/07/23 12:24:34 jperkin Exp $
$NetBSD: patch-configure.ac,v 1.2 2016/01/30 22:15:11 ryoon Exp $
Remove etc
--- configure.ac.orig 2011-11-21 20:58:27.000000000 +0900
+++ configure.ac 2012-02-13 10:34:17.000000000 +0900
@@ -140,7 +140,7 @@
--- configure.ac.orig 2016-01-25 08:57:16.000000000 +0000
+++ configure.ac
@@ -140,7 +140,7 @@ host_libs="intl libiberty opcodes bfd re
# binutils, gas and ld appear in that order because it makes sense to run
# "make check" in that particular order.
# If --enable-gold is used, "gold" may replace "ld".
-host_tools="flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
+host_tools="flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof expect dejagnu m4 utils guile fastjar gnattools"
-host_tools="flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
+host_tools="flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
# libgcj represents the runtime libraries only used by gcj.
libgcj="target-libffi \
@@ -1,49 +0,0 @@
$NetBSD: patch-gas_configure,v 1.1 2015/06/09 20:24:39 ryoon Exp $
--- gas/configure.orig 2014-12-23 14:22:05.000000000 +0000
+++ gas/configure
@@ -12331,7 +12331,7 @@ $as_echo "$with_arch" >&6; }
# Decide features one by one.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5
$as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; }
- if test "x${enable_dx_regs}" == xyes; then
+ if test "x${enable_dx_regs}" = xyes; then
$as_echo "#define NDS32_DEFAULT_DX_REGS 1" >>confdefs.h
@@ -12345,7 +12345,7 @@ $as_echo "$enable_dx_regs" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5
$as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; }
- if test "x${enable_perf_ext}" == xno; then
+ if test "x${enable_perf_ext}" = xno; then
$as_echo "#define NDS32_DEFAULT_PERF_EXT 0" >>confdefs.h
@@ -12359,7 +12359,7 @@ $as_echo "$enable_perf_ext" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5
$as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; }
- if test "x${enable_perf_ext2}" == xno; then
+ if test "x${enable_perf_ext2}" = xno; then
$as_echo "#define NDS32_DEFAULT_PERF_EXT2 0" >>confdefs.h
@@ -12373,7 +12373,7 @@ $as_echo "$enable_perf_ext2" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5
$as_echo_n "checking for default configuration of --enable-string-ext... " >&6; }
- if test "x${enable_string_ext}" == xno; then
+ if test "x${enable_string_ext}" = xno; then
$as_echo "#define NDS32_DEFAULT_STRING_EXT 0" >>confdefs.h
@@ -12387,7 +12387,7 @@ $as_echo "$enable_string_ext" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5
$as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; }
- if test "x${enable_audio_ext}" == xno; then
+ if test "x${enable_audio_ext}" = xno; then
$as_echo "#define NDS32_DEFAULT_AUDIO_EXT 0" >>confdefs.h
@@ -1,11 +1,11 @@
$NetBSD: patch-gas_configure.tgt,v 1.1 2015/09/03 20:55:55 sevan Exp $
$NetBSD: patch-gas_configure.tgt,v 1.2 2016/02/03 19:56:34 jperkin Exp $
Add Bitrig/amd64 support
https://sourceware.org/bugzilla/show_bug.cgi?id=18920
--- gas/configure.tgt.orig Thu Sep 3 16:57:30 2015
--- gas/configure.tgt.orig 2015-11-13 08:27:41.000000000 +0000
+++ gas/configure.tgt
@@ -231,6 +232,7 @@ case ${generic_target} in
@@ -238,6 +238,7 @@ case ${generic_target} in
i386-*-openbsd[0-2].* | \
i386-*-openbsd3.[0-2]) fmt=aout em=nbsd ;;
i386-*-openbsd*) fmt=elf em=nbsd ;;
@@ -1,10 +1,10 @@
$NetBSD: patch-gold_Makefile.in,v 1.2 2014/05/27 09:56:10 joerg Exp $
$NetBSD: patch-gold_Makefile.in,v 1.3 2016/02/03 19:56:34 jperkin Exp $
Don't bail out on the deprecation warnings for <ext/hash_map>
Don't use hard-coded -ldl.
--- gold/Makefile.in.orig 2013-11-04 15:33:39.000000000 +0000
--- gold/Makefile.in.orig 2015-11-13 08:27:42.000000000 +0000
+++ gold/Makefile.in
@@ -345,7 +345,7 @@ TARGETOBJS = @TARGETOBJS@
USE_NLS = @USE_NLS@
@@ -15,7 +15,7 @@ $NetBSD: patch-gold_Makefile.in,v 1.2 2014/05/27 09:56:10 joerg Exp $
XGETTEXT = @XGETTEXT@
YACC = @YACC@
YFLAGS = @YFLAGS@
@@ -419,7 +419,7 @@ AM_CPPFLAGS = \
@@ -427,7 +427,7 @@ AM_CPPFLAGS = \
-DTOOLLIBDIR="\"$(tooldir)/lib\"" @INCINTL@
LIBIBERTY = ../libiberty/libiberty.a
+4 -4
View File
@@ -1,12 +1,12 @@
$NetBSD: patch-gold_options.h,v 1.1 2014/05/12 16:33:20 marino Exp $
$NetBSD: patch-gold_options.h,v 1.2 2016/02/03 19:56:34 jperkin Exp $
The NetBSD and OpenBSD real-time linkers do not understand DT_RUNPATH
or DT_INIT_ARRAY. The current gold defaults are not suitable for them.
The last couple of DragonFly and FreeBSD releases do support these tags.
--- gold/options.h.orig 2013-11-04 15:33:39.000000000 +0000
--- gold/options.h.orig 2015-11-13 08:27:42.000000000 +0000
+++ gold/options.h
@@ -716,9 +716,15 @@ class General_options
@@ -713,9 +713,15 @@ class General_options
N_("Output cross reference table"),
N_("Do not output cross reference table"));
@@ -22,7 +22,7 @@ $NetBSD: patch-gold_options.h,v 1.1 2014/05/12 16:33:20 marino Exp $
DEFINE_bool(define_common, options::TWO_DASHES, 'd', false,
N_("Define common symbols"),
@@ -949,7 +955,11 @@ class General_options
@@ -956,7 +962,11 @@ class General_options
N_("Do not page align data, do not make text readonly"),
N_("Page align data, make text readonly"));
+5 -5
View File
@@ -1,4 +1,4 @@
$NetBSD: patch-gold_resolve.cc,v 1.1 2014/05/12 19:10:08 marino Exp $
$NetBSD: patch-gold_resolve.cc,v 1.2 2016/01/30 22:15:11 ryoon Exp $
The gold linker is overly pedantic for dynamic references to symbols
with hidden visibility. It will spew error messages about weak symbols
@@ -8,9 +8,9 @@ $NetBSD: patch-gold_resolve.cc,v 1.1 2014/05/12 19:10:08 marino Exp $
https://sourceware.org/bugzilla/show_bug.cgi?id=15574
--- gold/resolve.cc.orig 2013-11-04 15:33:39.000000000 +0000
--- gold/resolve.cc.orig 2015-11-13 08:27:42.000000000 +0000
+++ gold/resolve.cc
@@ -276,8 +276,7 @@ Symbol_table::resolve(Sized_symbol<size>
@@ -284,8 +284,7 @@ Symbol_table::resolve(Sized_symbol<size>
to->set_in_reg();
}
else if (st_shndx == elfcpp::SHN_UNDEF
@@ -18,5 +18,5 @@ $NetBSD: patch-gold_resolve.cc,v 1.1 2014/05/12 19:10:08 marino Exp $
- || to->visibility() == elfcpp::STV_INTERNAL))
+ && (to->visibility() == elfcpp::STV_INTERNAL))
{
// A dynamic object cannot reference a hidden or internal symbol
// defined in another object.
// The symbol is hidden, so a reference from a shared object
// cannot bind to it. We tried issuing a warning in this case,
+2 -2
View File
@@ -1,6 +1,6 @@
$NetBSD: patch-gold_system.h,v 1.3 2015/06/09 20:24:39 ryoon Exp $
$NetBSD: patch-gold_system.h,v 1.4 2016/02/03 19:56:34 jperkin Exp $
--- gold/system.h.orig 2014-10-14 07:32:04.000000000 +0000
--- gold/system.h.orig 2015-11-13 08:27:42.000000000 +0000
+++ gold/system.h
@@ -118,7 +118,7 @@ struct hash<std::string>
{
@@ -1,6 +1,6 @@
$NetBSD: patch-include_safe-ctype.h,v 1.1 2015/03/24 14:23:14 joerg Exp $
$NetBSD: patch-include_safe-ctype.h,v 1.2 2016/02/03 19:56:34 jperkin Exp $
--- include/safe-ctype.h.orig 2015-03-23 13:28:20.000000000 +0000
--- include/safe-ctype.h.orig 2015-11-13 08:27:42.000000000 +0000
+++ include/safe-ctype.h
@@ -120,6 +120,8 @@ extern const unsigned char _sch_tolower
So we include ctype.h here and then immediately redefine its macros. */
@@ -1,11 +1,11 @@
$NetBSD: patch-ld_configure.tgt,v 1.3 2015/09/03 20:55:55 sevan Exp $
$NetBSD: patch-ld_configure.tgt,v 1.4 2016/01/30 22:15:11 ryoon Exp $
Add Bitrig/amd64 support
https://sourceware.org/bugzilla/show_bug.cgi?id=18920
--- ld/configure.tgt.orig Thu Sep 3 17:11:33 2015
--- ld/configure.tgt.orig 2015-11-13 08:27:42.000000000 +0000
+++ ld/configure.tgt
@@ -282,6 +283,11 @@ x86_64-*-netbsd*) targ_emul=elf_x86_64
@@ -309,6 +309,11 @@ x86_64-*-netbsd*) targ_emul=elf_x86_64
*) tdir_elf_i386=`echo ${tdir_elf_i386} | \
sed -e 's/netbsd/netbsdelf/'`;;
esac ;;
@@ -15,5 +15,5 @@ https://sourceware.org/bugzilla/show_bug.cgi?id=18920
+ targ_extra_emuls="elf_i386 i386nbsd elf_l1om elf_k1om"
+ ;;
i[3-7]86-*-netware) targ_emul=i386nw ;;
i[3-7]86-*-elf*) targ_emul=elf_i386 ;;
x86_64-*-elf*) targ_emul=elf_x86_64
i[3-7]86-*-elfiamcu) targ_emul=elf_iamcu
targ_extra_emuls=elf_i386 ;;
@@ -1,10 +1,10 @@
$NetBSD: patch-libiberty_Makefile.in,v 1.2 2014/01/06 14:58:41 wiz Exp $
$NetBSD: patch-libiberty_Makefile.in,v 1.3 2016/02/03 19:56:34 jperkin Exp $
Disable multilib.
--- libiberty/Makefile.in.orig 2013-11-04 15:33:40.000000000 +0000
--- libiberty/Makefile.in.orig 2015-11-13 08:27:42.000000000 +0000
+++ libiberty/Makefile.in
@@ -353,7 +353,6 @@ install-strip: install
@@ -364,7 +364,6 @@ install-strip: install
# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
# default multilib, so we have to take CFLAGS into account as well,
# since it will be passed the multilib flags.