diff options
Diffstat (limited to 'package/binutils')
-rw-r--r-- | package/binutils/Config.in.host | 2 | ||||
-rw-r--r-- | package/binutils/arc-2017.09-rc1/0002-ld-makefile.patch (renamed from package/binutils/arc-2017.03/0300-PATCH-ld-makefile.patch) | 10 | ||||
-rw-r--r-- | package/binutils/arc-2017.09-rc1/0003-check-ldrunpath-length.patch (renamed from package/binutils/arc-2017.03/0301-PATCH-check-ldrunpath-length.patch) | 12 | ||||
-rw-r--r-- | package/binutils/arc-2017.09-rc1/0004-add-sysroot-fix-from-bug-3049.patch (renamed from package/binutils/arc-2017.03/0500-add-sysroot-fix-from-bug-3049.patch) | 17 | ||||
-rw-r--r-- | package/binutils/arc-2017.09-rc1/0005-poison-system-directories.patch (renamed from package/binutils/arc-2017.03/0600-poison-system-directories.patch) | 54 | ||||
-rw-r--r-- | package/binutils/binutils.hash | 2 | ||||
-rw-r--r-- | package/binutils/binutils.mk | 2 |
7 files changed, 51 insertions, 48 deletions
diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index bce1e91230..da9d12301b 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -22,7 +22,7 @@ endchoice config BR2_BINUTILS_VERSION string - default "arc-2017.03" if BR2_arc + default "arc-2017.09-rc1" if BR2_arc default "2.27" if BR2_BINUTILS_VERSION_2_27_X default "2.28.1" if BR2_BINUTILS_VERSION_2_28_X default "2.29.1" if BR2_BINUTILS_VERSION_2_29_X diff --git a/package/binutils/arc-2017.03/0300-PATCH-ld-makefile.patch b/package/binutils/arc-2017.09-rc1/0002-ld-makefile.patch index 6b3cd440d1..a7cd71e63c 100644 --- a/package/binutils/arc-2017.03/0300-PATCH-ld-makefile.patch +++ b/package/binutils/arc-2017.09-rc1/0002-ld-makefile.patch @@ -1,6 +1,6 @@ -From 32078014f734430e1c68fe40aaf970b9805ecaf5 Mon Sep 17 00:00:00 2001 +From d4e18ebc6ad810167a2de84b185a5f0d65b9ec2d Mon Sep 17 00:00:00 2001 From: Romain Naour <romain.naour@gmail.com> -Date: Fri, 21 Apr 2017 21:19:13 +0300 +Date: Fri, 25 Dec 2015 11:40:53 +0100 Subject: [PATCH] ld-makefile [Romain: rebase on top of 2.26] @@ -11,7 +11,7 @@ Signed-off-by: Romain Naour <romain.naour@gmail.com> 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am -index 9dd31ff..553a107 100644 +index 625347f..d5334d2 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -57,7 +57,7 @@ endif @@ -24,7 +24,7 @@ index 9dd31ff..553a107 100644 EMUL = @EMUL@ EMULATION_OFILES = @EMULATION_OFILES@ diff --git a/ld/Makefile.in b/ld/Makefile.in -index c464302..feb34ba 100644 +index ba25177..a2cf228 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -446,7 +446,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) @@ -37,5 +37,5 @@ index c464302..feb34ba 100644 BFDDIR = $(BASEDIR)/bfd INCDIR = $(BASEDIR)/include -- -2.7.4 +2.9.4 diff --git a/package/binutils/arc-2017.03/0301-PATCH-check-ldrunpath-length.patch b/package/binutils/arc-2017.09-rc1/0003-check-ldrunpath-length.patch index 9bb23411f6..3fbc5031d1 100644 --- a/package/binutils/arc-2017.03/0301-PATCH-check-ldrunpath-length.patch +++ b/package/binutils/arc-2017.09-rc1/0003-check-ldrunpath-length.patch @@ -1,6 +1,6 @@ -From 4a5a8b983fb31a67f976e0dd9cf5e8580ef55098 Mon Sep 17 00:00:00 2001 +From 3bd211025c890ef2971958915d500a9bb2913a2a Mon Sep 17 00:00:00 2001 From: Romain Naour <romain.naour@gmail.com> -Date: Fri, 21 Apr 2017 21:23:55 +0300 +Date: Fri, 25 Dec 2015 11:41:47 +0100 Subject: [PATCH] check-ldrunpath-length [Romain: rebase on top of 2.26] @@ -10,10 +10,10 @@ Signed-off-by: Romain Naour <romain.naour@gmail.com> 1 file changed, 4 insertions(+) diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em -index d4837d0..937da8a 100644 +index d2551b6..70fcb56 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em -@@ -1460,6 +1460,8 @@ fragment <<EOF +@@ -1463,6 +1463,8 @@ fragment <<EOF && command_line.rpath == NULL) { path = (const char *) getenv ("LD_RUN_PATH"); @@ -22,7 +22,7 @@ index d4837d0..937da8a 100644 if (path && gld${EMULATION_NAME}_search_needed (path, &n, force)) break; -@@ -1737,6 +1739,8 @@ gld${EMULATION_NAME}_before_allocation (void) +@@ -1740,6 +1742,8 @@ gld${EMULATION_NAME}_before_allocation (void) rpath = command_line.rpath; if (rpath == NULL) rpath = (const char *) getenv ("LD_RUN_PATH"); @@ -32,5 +32,5 @@ index d4837d0..937da8a 100644 for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next) if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) -- -2.7.4 +2.9.4 diff --git a/package/binutils/arc-2017.03/0500-add-sysroot-fix-from-bug-3049.patch b/package/binutils/arc-2017.09-rc1/0004-add-sysroot-fix-from-bug-3049.patch index 0331088666..9e11840cee 100644 --- a/package/binutils/arc-2017.03/0500-add-sysroot-fix-from-bug-3049.patch +++ b/package/binutils/arc-2017.09-rc1/0004-add-sysroot-fix-from-bug-3049.patch @@ -1,4 +1,4 @@ -From 30628870e583375f8927c04398c7219c6e9f703c Mon Sep 17 00:00:00 2001 +From 378bda0e19d279535b3f4a0e448a658a534a5d67 Mon Sep 17 00:00:00 2001 From: Romain Naour <romain.naour@gmail.com> Date: Fri, 25 Dec 2015 11:42:48 +0100 Subject: [PATCH] add sysroot fix from bug #3049 @@ -12,13 +12,14 @@ Signed-off-by: Sven Rebhan <odinshorse@googlemail.com> [Romain: rebase on top of 2.26] Signed-off-by: Romain Naour <romain.naour@gmail.com> --- - ld/ldfile.c | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) + ld/ldfile.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) -diff --git a/ld/ldfile.c diff --git b/ld/ldfile.c ---- a/ld/ldfile.c 2017-03-02 03:23:54.000000000 -0500 -+++ b/ld/ldfile.c 2017-03-20 09:52:27.687415942 -0400 -@@ -336,18 +336,24 @@ +diff --git a/ld/ldfile.c b/ld/ldfile.c +index 3b37a0a..f7e5473 100644 +--- a/ld/ldfile.c ++++ b/ld/ldfile.c +@@ -338,18 +338,24 @@ ldfile_open_file_search (const char *arch, directory first. */ if (!entry->flags.maybe_archive) { @@ -45,4 +46,6 @@ diff --git a/ld/ldfile.c diff --git b/ld/ldfile.c return TRUE; if (IS_ABSOLUTE_PATH (entry->filename)) +-- +2.9.4 diff --git a/package/binutils/arc-2017.03/0600-poison-system-directories.patch b/package/binutils/arc-2017.09-rc1/0005-poison-system-directories.patch index bb1a7b438c..a7c2761a9d 100644 --- a/package/binutils/arc-2017.03/0600-poison-system-directories.patch +++ b/package/binutils/arc-2017.09-rc1/0005-poison-system-directories.patch @@ -1,4 +1,4 @@ -From be366461dd49e760440fb28eaee5164eb281adcc Mon Sep 17 00:00:00 2001 +From b100e9d16bfe6725b2624902af457ecfa490b150 Mon Sep 17 00:00:00 2001 From: Romain Naour <romain.naour@gmail.com> Date: Fri, 25 Dec 2015 11:45:38 +0100 Subject: [PATCH] poison-system-directories @@ -78,10 +78,10 @@ Signed-off-by: Scott Garman <scott.a.garman@intel.com> 9 files changed, 89 insertions(+) diff --git a/ld/config.in b/ld/config.in -index 276fb77..35c58eb 100644 +index 5d91380..ffe84a7 100644 --- a/ld/config.in +++ b/ld/config.in -@@ -17,6 +17,9 @@ +@@ -21,6 +21,9 @@ language is requested. */ #undef ENABLE_NLS @@ -92,10 +92,10 @@ index 276fb77..35c58eb 100644 #undef EXTRA_SHLIB_EXTENSION diff --git a/ld/configure b/ld/configure -index a446283..d1f9504 100755 +index da20ab5..63e3da7 100755 --- a/ld/configure +++ b/ld/configure -@@ -789,6 +789,7 @@ with_lib_path +@@ -785,6 +785,7 @@ with_lib_path enable_targets enable_64_bit_bfd with_sysroot @@ -103,7 +103,7 @@ index a446283..d1f9504 100755 enable_gold enable_got enable_compressed_debug_sections -@@ -1446,6 +1447,8 @@ Optional Features: +@@ -1443,6 +1444,8 @@ Optional Features: --disable-largefile omit support for large files --enable-targets alternative target configurations --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) @@ -112,7 +112,7 @@ index a446283..d1f9504 100755 --enable-gold[=ARG] build gold [ARG={default,yes,no}] --enable-got=<type> GOT handling scheme (target, single, negative, multigot) -@@ -15499,7 +15502,18 @@ else +@@ -15497,7 +15500,18 @@ else fi @@ -132,7 +132,7 @@ index a446283..d1f9504 100755 # Check whether --enable-got was given. if test "${enable_got+set}" = set; then : diff --git a/ld/configure.ac b/ld/configure.ac -index 188172d..2cd8443 100644 +index 34315e6..5ade9a0 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -95,6 +95,16 @@ AC_SUBST(use_sysroot) @@ -153,12 +153,12 @@ index 188172d..2cd8443 100644 dnl "install_as_default" is set to false if gold is the default linker. dnl "installed_linker" is the installed BFD linker name. diff --git a/ld/ld.h b/ld/ld.h -index d84ec4e..3476b26 100644 +index 162e156..7d6d7ef 100644 --- a/ld/ld.h +++ b/ld/ld.h -@@ -172,6 +172,14 @@ typedef struct { - /* If set, display the target memory usage (per memory region). */ - bfd_boolean print_memory_usage; +@@ -177,6 +177,14 @@ typedef struct + in the linker script. */ + bfd_boolean force_group_allocation; + /* If TRUE (the default) warn for uses of system directories when + cross linking. */ @@ -172,10 +172,10 @@ index d84ec4e..3476b26 100644 enum endian_enum endian; diff --git a/ld/ld.texinfo b/ld/ld.texinfo -index 1dd7492..fb1438e 100644 +index bb5f719..78501e4 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo -@@ -2403,6 +2403,18 @@ string identifying the original linked file does not change. +@@ -2480,6 +2480,18 @@ string identifying the original linked file does not change. Passing @code{none} for @var{style} disables the setting from any @code{--build-id} options earlier on the command line. @@ -195,11 +195,11 @@ index 1dd7492..fb1438e 100644 @c man end diff --git a/ld/ldfile.c b/ld/ldfile.c -index 1439309..086b354 100644 +index f7e5473..2cd84d3 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c -@@ -114,6 +114,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) - new_dirs->name = concat (ld_sysroot, name + 1, (const char *) NULL); +@@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) + new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); else new_dirs->name = xstrdup (name); + @@ -223,20 +223,20 @@ index 1439309..086b354 100644 /* Try to open a BFD for a lang_input_statement. */ diff --git a/ld/ldlex.h b/ld/ldlex.h -index 6f11e7b..0ca3110 100644 +index 5aa7f6b..cb655e0 100644 --- a/ld/ldlex.h +++ b/ld/ldlex.h -@@ -146,6 +146,8 @@ enum option_values - OPTION_PRINT_MEMORY_USAGE, +@@ -147,6 +147,8 @@ enum option_values OPTION_REQUIRE_DEFINED_SYMBOL, OPTION_ORPHAN_HANDLING, + OPTION_FORCE_GROUP_ALLOCATION, + OPTION_NO_POISON_SYSTEM_DIRECTORIES, + OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, }; /* The initial parser states. */ diff --git a/ld/ldmain.c b/ld/ldmain.c -index bb0b9cc..a23c56c 100644 +index ee5ab11..5f6effd 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -270,6 +270,8 @@ main (int argc, char **argv) @@ -249,10 +249,10 @@ index bb0b9cc..a23c56c 100644 /* We initialize DEMANGLING based on the environment variable COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the diff --git a/ld/lexsup.c b/ld/lexsup.c -index 4cad209..be7d584 100644 +index 08106bc..d619d50 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c -@@ -535,6 +535,14 @@ static const struct ld_option ld_options[] = +@@ -538,6 +538,14 @@ static const struct ld_option ld_options[] = { {"orphan-handling", required_argument, NULL, OPTION_ORPHAN_HANDLING}, '\0', N_("=MODE"), N_("Control how orphan sections are handled."), TWO_DASHES }, @@ -267,7 +267,7 @@ index 4cad209..be7d584 100644 }; #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -547,6 +555,7 @@ parse_args (unsigned argc, char **argv) +@@ -550,6 +558,7 @@ parse_args (unsigned argc, char **argv) int ingroup = 0; char *default_dirlist = NULL; char *shortopts; @@ -275,7 +275,7 @@ index 4cad209..be7d584 100644 struct option *longopts; struct option *really_longopts; int last_optind; -@@ -1528,6 +1537,14 @@ parse_args (unsigned argc, char **argv) +@@ -1534,6 +1543,14 @@ parse_args (unsigned argc, char **argv) } break; @@ -290,7 +290,7 @@ index 4cad209..be7d584 100644 case OPTION_PUSH_STATE: input_flags.pushed = xmemdup (&input_flags, sizeof (input_flags), -@@ -1571,6 +1588,10 @@ parse_args (unsigned argc, char **argv) +@@ -1577,6 +1594,10 @@ parse_args (unsigned argc, char **argv) command_line.soname = NULL; } @@ -302,5 +302,5 @@ index 4cad209..be7d584 100644 { lang_leave_group (); -- -2.4.3 +2.9.4 diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash index 6e35c5c5d5..59bcbcbcc4 100644 --- a/package/binutils/binutils.hash +++ b/package/binutils/binutils.hash @@ -4,4 +4,4 @@ sha512 dc5b6872ae01c07c12d38f3bb7ead06effc6da3265ac872e2d9c6104304f89f85f2645b02 sha512 d748d22306477d60d921078804d21943248c23fca0707aac9b016a352c01c75ca69e82624ae37fb0bbd03af3b17088a94f60dfe1a86a7ff82e18ece3c24f0fd0 binutils-2.29.1.tar.xz # Locally calculated (fetched from Github) -sha512 07d5639e74eafe8fced259870c1a7dedee67c534573dda53fb78ee1ffeec9e17479fdde41dccd03b1cf0248023acbef7f66013398b2f722e4a8891ac680d1d16 binutils-arc-2017.03.tar.gz +sha512 7017056456805c472930a13997e5d5da1031492da7534b09ecaab7c1953ea62513f2c12292c16ec5740acb63493802a30642e28e103919215d0d11e1da997bcb binutils-arc-2017.09-rc1.tar.gz diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index 34739d7fc7..7ab422eb15 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -9,7 +9,7 @@ BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION)) ifeq ($(BINUTILS_VERSION),) ifeq ($(BR2_arc),y) -BINUTILS_VERSION = arc-2017.03 +BINUTILS_VERSION = arc-2017.09-rc1 else BINUTILS_VERSION = 2.28.1 endif |