summaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.23.1
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-05-26 01:02:55 +0300
committerRoman Yeryomin <roman@advem.lv>2013-05-26 01:02:55 +0300
commit342045a35b1981a89e4bc80842b10c065e1050da (patch)
tree4140720b20e8d641c11da882010d6130a75fef21 /toolchain/binutils/patches/2.23.1
parent7338133dde8238afce34676214b494c8db96689b (diff)
parent1a116ce7818ecee5d167a9c0ebb1a0feca9120e6 (diff)
Merge trunk into realtek-unstable
Conflicts: Config.in feeds.conf.default package/base-files/files/etc/hotplug2-common.rules package/network/config/netifd/files/etc/init.d/network
Diffstat (limited to 'toolchain/binutils/patches/2.23.1')
-rw-r--r--toolchain/binutils/patches/2.23.1/112-arm-uclibc-gas-needs-libm.patch4
-rw-r--r--toolchain/binutils/patches/2.23.1/120-sh-conf.patch4
-rw-r--r--toolchain/binutils/patches/2.23.1/200-musl.patch10
-rw-r--r--toolchain/binutils/patches/2.23.1/300-001_ld_makefile_patch.patch2
-rw-r--r--toolchain/binutils/patches/2.23.1/300-012_check_ldrunpath_length.patch4
5 files changed, 17 insertions, 7 deletions
diff --git a/toolchain/binutils/patches/2.23.1/112-arm-uclibc-gas-needs-libm.patch b/toolchain/binutils/patches/2.23.1/112-arm-uclibc-gas-needs-libm.patch
index a9e435701..5d0e5ff8e 100644
--- a/toolchain/binutils/patches/2.23.1/112-arm-uclibc-gas-needs-libm.patch
+++ b/toolchain/binutils/patches/2.23.1/112-arm-uclibc-gas-needs-libm.patch
@@ -20,7 +20,7 @@ make[4]: *** [as-new] Error 1
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
-@@ -428,6 +428,12 @@ case ${generic_target} in
+@@ -450,6 +450,12 @@ case ${generic_target} in
*-*-netware) fmt=elf em=netware ;;
esac
@@ -31,5 +31,5 @@ make[4]: *** [as-new] Error 1
+esac
+
case ${cpu_type} in
- alpha | arm | i386 | ia64 | microblaze | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
+ aarch64 | alpha | arm | i386 | ia64 | microblaze | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
bfd_gas=yes
diff --git a/toolchain/binutils/patches/2.23.1/120-sh-conf.patch b/toolchain/binutils/patches/2.23.1/120-sh-conf.patch
index d92ceb52c..ce0ec81b8 100644
--- a/toolchain/binutils/patches/2.23.1/120-sh-conf.patch
+++ b/toolchain/binutils/patches/2.23.1/120-sh-conf.patch
@@ -1,6 +1,6 @@
--- a/configure
+++ b/configure
-@@ -3570,7 +3570,7 @@ case "${target}" in
+@@ -3595,7 +3595,7 @@ case "${target}" in
mips*-*-*)
noconfigdirs="$noconfigdirs gprof"
;;
@@ -11,7 +11,7 @@
;;
--- a/configure.ac
+++ b/configure.ac
-@@ -1006,7 +1006,7 @@ case "${target}" in
+@@ -1021,7 +1021,7 @@ case "${target}" in
mips*-*-*)
noconfigdirs="$noconfigdirs gprof"
;;
diff --git a/toolchain/binutils/patches/2.23.1/200-musl.patch b/toolchain/binutils/patches/2.23.1/200-musl.patch
new file mode 100644
index 000000000..40fe76d34
--- /dev/null
+++ b/toolchain/binutils/patches/2.23.1/200-musl.patch
@@ -0,0 +1,10 @@
+--- a/config.sub
++++ b/config.sub
+@@ -125,6 +125,7 @@ esac
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
++ linux-musl* | \
+ linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+ knetbsd*-gnu* | netbsd*-gnu* | \
+ kopensolaris*-gnu* | \
diff --git a/toolchain/binutils/patches/2.23.1/300-001_ld_makefile_patch.patch b/toolchain/binutils/patches/2.23.1/300-001_ld_makefile_patch.patch
index aa853ff54..323655a01 100644
--- a/toolchain/binutils/patches/2.23.1/300-001_ld_makefile_patch.patch
+++ b/toolchain/binutils/patches/2.23.1/300-001_ld_makefile_patch.patch
@@ -11,7 +11,7 @@
EMULATION_OFILES = @EMULATION_OFILES@
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
-@@ -366,7 +366,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
+@@ -367,7 +367,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
# 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.
diff --git a/toolchain/binutils/patches/2.23.1/300-012_check_ldrunpath_length.patch b/toolchain/binutils/patches/2.23.1/300-012_check_ldrunpath_length.patch
index 1e0400034..7e90d220a 100644
--- a/toolchain/binutils/patches/2.23.1/300-012_check_ldrunpath_length.patch
+++ b/toolchain/binutils/patches/2.23.1/300-012_check_ldrunpath_length.patch
@@ -1,6 +1,6 @@
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
-@@ -1273,6 +1273,8 @@ fragment <<EOF
+@@ -1274,6 +1274,8 @@ fragment <<EOF
&& command_line.rpath == NULL)
{
lib_path = (const char *) getenv ("LD_RUN_PATH");
@@ -9,7 +9,7 @@
if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
force))
break;
-@@ -1500,6 +1502,8 @@ gld${EMULATION_NAME}_before_allocation (
+@@ -1501,6 +1503,8 @@ gld${EMULATION_NAME}_before_allocation (
rpath = command_line.rpath;
if (rpath == NULL)
rpath = (const char *) getenv ("LD_RUN_PATH");