Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #904 from stilor/upgrade
A bunch of upgrades
- Loading branch information
Showing
100 changed files
with
1,246 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
config GMP_HAS_MPBSD | ||
bool | ||
default y if !GMP_5_1_or_later | ||
default y if !GMP_5_1_0_or_later |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
# MPC options | ||
# MPC 1.1.0 and later requires MPFR 3.0.0 or later and GMP 5.0.0 or later. | ||
# MPC 1.0.x and earlier break with MPFR 4.0.0. | ||
## select MPFR_REQUIRE_3_0_0_or_later if MPFR_NEEDED && MPC_1_1_0_or_later | ||
## select GMP_REQUIRE_5_0_0_or_later if GMP_NEEDED && MPC_1_1_0_or_later | ||
## select MPFR_REQUIRE_older_than_4_0_0 if MPFR_NEEDED && !MPC_1_1_0_or_later |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# GMP options | ||
# MPFR options |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
md5 android-ndk-r16b-linux-x86_64.zip e21a2687c26b71379beecfd8d0525224 | ||
sha1 android-ndk-r16b-linux-x86_64.zip 42aa43aae89a50d1c66c3f9fdecd676936da6128 | ||
sha256 android-ndk-r16b-linux-x86_64.zip bcdea4f5353773b2ffa85b5a9a2ae35544ce88ec5b507301d8cf6a76b765d901 | ||
sha512 android-ndk-r16b-linux-x86_64.zip 94cd879925ee3174a9267e7da2d18d71874173976b362101ec06598a94b6587a33671e54bbbce5778c04418aacbb831e98386c16f6cde04574ea8c8589553dd7 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
r10231 | lethal | 2005-05-02 09:58:00 -0400 (Mon, 02 May 2005) | 13 lines | ||
|
||
Likewise, binutils has no idea about any of these new targets either, so we | ||
fix that up too.. now we're able to actually build a real toolchain for | ||
sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more | ||
inept targets than that one, really. Go look, I promise). | ||
|
||
--- | ||
configure | 2 +- | ||
configure.ac | 2 +- | ||
2 files changed, 2 insertions(+), 2 deletions(-) | ||
|
||
--- a/configure | ||
+++ b/configure | ||
@@ -3835,7 +3835,7 @@ | ||
nvptx*-*-*) | ||
noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" | ||
;; | ||
- sh-*-*) | ||
+ sh*-*-*) | ||
case "${target}" in | ||
sh*-*-elf) | ||
;; | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -1166,7 +1166,7 @@ | ||
nvptx*-*-*) | ||
noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" | ||
;; | ||
- sh-*-*) | ||
+ sh*-*-*) | ||
case "${target}" in | ||
sh*-*-elf) | ||
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
ld/Makefile.am | 2 +- | ||
ld/Makefile.in | 2 +- | ||
2 files changed, 2 insertions(+), 2 deletions(-) | ||
|
||
--- a/ld/Makefile.am | ||
+++ b/ld/Makefile.am | ||
@@ -57,7 +57,7 @@ | ||
# We put the scripts in the directory $(scriptdir)/ldscripts. | ||
# We can't put the scripts in $(datadir) because the SEARCH_DIR | ||
# directives need to be different for native and cross linkers. | ||
-scriptdir = $(tooldir)/lib | ||
+scriptdir = $(libdir) | ||
|
||
EMUL = @EMUL@ | ||
EMULATION_OFILES = @EMULATION_OFILES@ | ||
--- a/ld/Makefile.in | ||
+++ b/ld/Makefile.in | ||
@@ -446,7 +446,7 @@ | ||
# We put the scripts in the directory $(scriptdir)/ldscripts. | ||
# We can't put the scripts in $(datadir) because the SEARCH_DIR | ||
# directives need to be different for native and cross linkers. | ||
-scriptdir = $(tooldir)/lib | ||
+scriptdir = $(libdir) | ||
BASEDIR = $(srcdir)/.. | ||
BFDDIR = $(BASEDIR)/bfd | ||
INCDIR = $(BASEDIR)/include |
24 changes: 24 additions & 0 deletions
24
packages/binutils/2.30/0002-012_check_ldrunpath_length.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
ld/emultempl/elf32.em | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
--- a/ld/emultempl/elf32.em | ||
+++ b/ld/emultempl/elf32.em | ||
@@ -1470,6 +1470,8 @@ | ||
&& command_line.rpath == NULL) | ||
{ | ||
path = (const char *) getenv ("LD_RUN_PATH"); | ||
+ if ((path) && (strlen (path) == 0)) | ||
+ path = NULL; | ||
if (path | ||
&& gld${EMULATION_NAME}_search_needed (path, &n, force)) | ||
break; | ||
@@ -1750,6 +1752,8 @@ | ||
rpath = command_line.rpath; | ||
if (rpath == NULL) | ||
rpath = (const char *) getenv ("LD_RUN_PATH"); | ||
+ if ((rpath) && (*rpath == '\0')) | ||
+ rpath = NULL; | ||
|
||
for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next) | ||
if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) |
15 changes: 15 additions & 0 deletions
15
...ages/binutils/2.30/0003-MinGW-w64-winpthreads-doesnt-have-pthread_mutexattr_settype.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
gold/gold-threads.cc | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
--- a/gold/gold-threads.cc | ||
+++ b/gold/gold-threads.cc | ||
@@ -101,7 +101,7 @@ | ||
int err = pthread_mutexattr_init(&attr); | ||
if (err != 0) | ||
gold_fatal(_("pthead_mutexattr_init failed: %s"), strerror(err)); | ||
-#ifdef PTHREAD_MUTEX_ADAPTIVE_NP | ||
+#if defined(PTHREAD_MUTEX_ADAPTIVE_NP) && !defined(_WIN32) | ||
err = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); | ||
if (err != 0) | ||
gold_fatal(_("pthread_mutexattr_settype failed: %s"), strerror(err)); |
105 changes: 105 additions & 0 deletions
105
packages/binutils/2.30/0004-Dont-link-to-libfl-as-its-unnecessary.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
--- | ||
binutils/configure | 3 +++ | ||
binutils/configure.ac | 3 +++ | ||
gas/configure | 3 +++ | ||
gas/configure.ac | 3 +++ | ||
ld/configure | 3 +++ | ||
ld/configure.ac | 3 +++ | ||
6 files changed, 18 insertions(+) | ||
|
||
--- a/binutils/configure | ||
+++ b/binutils/configure | ||
@@ -12150,6 +12150,7 @@ | ||
done | ||
test -n "$YACC" || YACC="yacc" | ||
|
||
+save_LIBS=$LIBS | ||
for ac_prog in flex lex | ||
do | ||
# Extract the first word of "$ac_prog", so it can be a program name with args. | ||
@@ -12311,6 +12312,8 @@ | ||
if test "$LEX" = :; then | ||
LEX=${am_missing_run}flex | ||
fi | ||
+LIBS=$save_LIBS | ||
+LEXLIB= | ||
|
||
ALL_LINGUAS="bg da es fi fr id it ja ro ru rw sk sv tr uk vi zh_CN zh_TW hr ca" | ||
# If we haven't got the data from the intl directory, | ||
--- a/binutils/configure.ac | ||
+++ b/binutils/configure.ac | ||
@@ -87,7 +87,10 @@ | ||
fi | ||
|
||
AC_PROG_YACC | ||
+save_LIBS=$LIBS | ||
AM_PROG_LEX | ||
+LIBS=$save_LIBS | ||
+LEXLIB= | ||
|
||
ALL_LINGUAS="bg da es fi fr id it ja ro ru rw sk sv tr uk vi zh_CN zh_TW hr ca" | ||
ZW_GNU_GETTEXT_SISTER_DIR | ||
--- a/gas/configure | ||
+++ b/gas/configure | ||
@@ -13003,6 +13003,7 @@ | ||
done | ||
test -n "$YACC" || YACC="yacc" | ||
|
||
+save_LIBS=$LIBS | ||
for ac_prog in flex lex | ||
do | ||
# Extract the first word of "$ac_prog", so it can be a program name with args. | ||
@@ -13164,6 +13165,8 @@ | ||
if test "$LEX" = :; then | ||
LEX=${am_missing_run}flex | ||
fi | ||
+LIBS=$save_LIBS | ||
+LEXLIB= | ||
|
||
ALL_LINGUAS="fr tr es rw id ru fi ja zh_CN sv" | ||
# If we haven't got the data from the intl directory, | ||
--- a/gas/configure.ac | ||
+++ b/gas/configure.ac | ||
@@ -795,7 +795,10 @@ | ||
AC_DEFINE_UNQUOTED(TARGET_OS, "${target_os}", [Target OS.]) | ||
|
||
AC_PROG_YACC | ||
+save_LIBS=$LIBS | ||
AM_PROG_LEX | ||
+LIBS=$save_LIBS | ||
+LEXLIB= | ||
|
||
ALL_LINGUAS="fr tr es rw id ru fi ja zh_CN sv" | ||
ZW_GNU_GETTEXT_SISTER_DIR | ||
--- a/ld/configure | ||
+++ b/ld/configure | ||
@@ -16222,6 +16222,7 @@ | ||
done | ||
test -n "$YACC" || YACC="yacc" | ||
|
||
+save_LIBS=$LIBS | ||
for ac_prog in flex lex | ||
do | ||
# Extract the first word of "$ac_prog", so it can be a program name with args. | ||
@@ -16383,6 +16384,8 @@ | ||
if test "$LEX" = :; then | ||
LEX=${am_missing_run}flex | ||
fi | ||
+LIBS=$save_LIBS | ||
+LEXLIB= | ||
|
||
|
||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||
--- a/ld/configure.ac | ||
+++ b/ld/configure.ac | ||
@@ -234,7 +234,10 @@ | ||
AC_EXEEXT | ||
|
||
AC_PROG_YACC | ||
+save_LIBS=$LIBS | ||
AM_PROG_LEX | ||
+LIBS=$save_LIBS | ||
+LEXLIB= | ||
|
||
AM_MAINTAINER_MODE | ||
AM_CONDITIONAL(GENINSRC_NEVER, false) |
15 changes: 15 additions & 0 deletions
15
packages/binutils/2.30/0005-Darwin-gold-binary-cc-include-string-not-cstring.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
gold/binary.cc | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
--- a/gold/binary.cc | ||
+++ b/gold/binary.cc | ||
@@ -23,7 +23,7 @@ | ||
#include "gold.h" | ||
|
||
#include <cerrno> | ||
-#include <cstring> | ||
+#include <string> | ||
|
||
#include "elfcpp.h" | ||
#include "stringpool.h" |
Oops, something went wrong.