summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch35
-rw-r--r--patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch35
-rw-r--r--patches/binutils/2.18.50.0.4/120-check-ldrunpath-length.patch31
-rw-r--r--patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch69
-rw-r--r--patches/binutils/2.18.50.0.6/100-arm-uclibcgnueabi.patch30
-rw-r--r--patches/binutils/2.18.50.0.6/110-ld-makefile-path.patch30
-rw-r--r--patches/binutils/2.18.50.0.6/120-check-ldrunpath-length.patch26
-rw-r--r--patches/binutils/2.18.50.0.6/130-i386-no-divide-comment.patch64
-rw-r--r--patches/binutils/2.18.50.0.7/100-arm-uclibcgnueabi.patch30
-rw-r--r--patches/binutils/2.18.50.0.7/110-ld-makefile-path.patch30
-rw-r--r--patches/binutils/2.18.50.0.7/120-check-ldrunpath-length.patch26
-rw-r--r--patches/binutils/2.18.50.0.7/130-i386-no-divide-comment.patch64
-rw-r--r--patches/binutils/2.18.50.0.8/100-arm-uclibcgnueabi.patch24
-rw-r--r--patches/binutils/2.18.50.0.8/110-ld-makefile-path.patch24
-rw-r--r--patches/binutils/2.18.50.0.8/120-check-ldrunpath-length.patch21
-rw-r--r--patches/binutils/2.18.50.0.8/130-i386-no-divide-comment.patch64
-rw-r--r--patches/binutils/2.18.50.0.9/100-arm-uclibcgnueabi.patch24
-rw-r--r--patches/binutils/2.18.50.0.9/110-ld-makefile-path.patch24
-rw-r--r--patches/binutils/2.18.50.0.9/120-check-ldrunpath-length.patch21
-rw-r--r--patches/binutils/2.18.50.0.9/130-i386-no-divide-comment.patch64
20 files changed, 0 insertions, 736 deletions
diff --git a/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch b/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch
deleted file mode 100644
index bf37211..0000000
--- a/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Original patch from: ../crosstool-NG/ct-ng.trunk/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch
-
--= BEGIN original header =-
-Patch from buildroot, updated to binutils-2.18.50.0.6.
-
- binutils-2.18.50.0.6/configure | 2 1 1 0 +-
- binutils-2.18.50.0.6/configure.ac | 2 1 1 0 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
--= END original header =-
-
-diff -durN binutils-2.18.50.0.4.orig/configure binutils-2.18.50.0.4/configure
---- binutils-2.18.50.0.4.orig/configure 2008-02-08 17:44:09.000000000 +0100
-+++ binutils-2.18.50.0.4/configure 2009-03-07 12:17:29.000000000 +0100
-@@ -2249,7 +2249,7 @@
- noconfigdirs="$noconfigdirs target-libffi target-qthreads"
- libgloss_dir=arm
- ;;
-- arm*-*-linux-gnueabi)
-+ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
- noconfigdirs="$noconfigdirs target-qthreads"
- noconfigdirs="$noconfigdirs target-libobjc"
- case ${with_newlib} in
-diff -durN binutils-2.18.50.0.4.orig/configure.ac binutils-2.18.50.0.4/configure.ac
---- binutils-2.18.50.0.4.orig/configure.ac 2008-02-08 17:44:09.000000000 +0100
-+++ binutils-2.18.50.0.4/configure.ac 2009-03-07 12:17:30.000000000 +0100
-@@ -526,7 +526,7 @@
- noconfigdirs="$noconfigdirs target-libffi target-qthreads"
- libgloss_dir=arm
- ;;
-- arm*-*-linux-gnueabi)
-+ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
- noconfigdirs="$noconfigdirs target-qthreads"
- noconfigdirs="$noconfigdirs target-libobjc"
- case ${with_newlib} in
diff --git a/patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch b/patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch
deleted file mode 100644
index 99b02f7..0000000
--- a/patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Original patch from: ../crosstool-NG/ct-ng.trunk/patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch
-
--= BEGIN original header =-
-Fix ld scripts path, copied from buildroot.
-
- binutils-2.18.50.0.6/ld/Makefile.am | 2 1 1 0 +-
- binutils-2.18.50.0.6/ld/Makefile.in | 2 1 1 0 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
--= END original header =-
-
-diff -durN binutils-2.18.50.0.4.orig/ld/Makefile.am binutils-2.18.50.0.4/ld/Makefile.am
---- binutils-2.18.50.0.4.orig/ld/Makefile.am 2007-11-03 21:40:37.000000000 +0100
-+++ binutils-2.18.50.0.4/ld/Makefile.am 2009-03-07 12:17:30.000000000 +0100
-@@ -18,7 +18,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@
-diff -durN binutils-2.18.50.0.4.orig/ld/Makefile.in binutils-2.18.50.0.4/ld/Makefile.in
---- binutils-2.18.50.0.4.orig/ld/Makefile.in 2007-11-03 21:40:37.000000000 +0100
-+++ binutils-2.18.50.0.4/ld/Makefile.in 2009-03-07 12:17:30.000000000 +0100
-@@ -287,7 +287,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
diff --git a/patches/binutils/2.18.50.0.4/120-check-ldrunpath-length.patch b/patches/binutils/2.18.50.0.4/120-check-ldrunpath-length.patch
deleted file mode 100644
index edde04a..0000000
--- a/patches/binutils/2.18.50.0.4/120-check-ldrunpath-length.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Original patch from: ../crosstool-NG/ct-ng.trunk/patches/binutils/2.18.50.0.4/120-check-ldrunpath-length.patch
-
--= BEGIN original header =-
-Check LD_RUN_PATH length, copied from buildroot.
-
- binutils-2.18.50.0.6/ld/emultempl/elf32.em | 4 4 0 0 ++++
- 1 file changed, 4 insertions(+)
-
--= END original header =-
-
-diff -durN binutils-2.18.50.0.4.orig/ld/emultempl/elf32.em binutils-2.18.50.0.4/ld/emultempl/elf32.em
---- binutils-2.18.50.0.4.orig/ld/emultempl/elf32.em 2008-02-08 17:44:55.000000000 +0100
-+++ binutils-2.18.50.0.4/ld/emultempl/elf32.em 2009-03-07 12:17:31.000000000 +0100
-@@ -1220,6 +1220,8 @@
- && command_line.rpath == NULL)
- {
- lib_path = (const char *) getenv ("LD_RUN_PATH");
-+ if ((lib_path) && (strlen (lib_path) == 0))
-+ lib_path = NULL;
- if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
- force))
- break;
-@@ -1404,6 +1406,8 @@
- rpath = command_line.rpath;
- if (rpath == NULL)
- rpath = (const char *) getenv ("LD_RUN_PATH");
-+ if ((rpath) && (strlen (rpath) == 0))
-+ rpath = NULL;
- if (! (bfd_elf_size_dynamic_sections
- (output_bfd, command_line.soname, rpath,
- command_line.filter_shlib,
diff --git a/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch b/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch
deleted file mode 100644
index cb34192..0000000
--- a/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-Original patch from: ../crosstool-NG/ct-ng.trunk/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch
-
--= BEGIN original header =-
--= END original header =-
-
-diff -durN binutils-2.18.50.0.4.orig/gas/config/tc-i386.c binutils-2.18.50.0.4/gas/config/tc-i386.c
---- binutils-2.18.50.0.4.orig/gas/config/tc-i386.c 2008-02-08 17:44:10.000000000 +0100
-+++ binutils-2.18.50.0.4/gas/config/tc-i386.c 2009-03-07 12:17:31.000000000 +0100
-@@ -300,24 +300,10 @@
- #endif
- ;
-
--#if (defined (TE_I386AIX) \
-- || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \
-- && !defined (TE_GNU) \
-- && !defined (TE_LINUX) \
-- && !defined (TE_NETWARE) \
-- && !defined (TE_FreeBSD) \
-- && !defined (TE_NetBSD)))
- /* This array holds the chars that always start a comment. If the
-- pre-processor is disabled, these aren't very useful. The option
-- --divide will remove '/' from this list. */
--const char *i386_comment_chars = "#/";
--#define SVR4_COMMENT_CHARS 1
--#define PREFIX_SEPARATOR '\\'
--
--#else
-+ pre-processor is disabled, these aren't very useful. */
- const char *i386_comment_chars = "#";
- #define PREFIX_SEPARATOR '/'
--#endif
-
- /* This array holds the chars that only start a comment at the beginning of
- a line. If the line seems to have the form '# 123 filename'
-@@ -7243,20 +7229,6 @@
- break;
-
- case OPTION_DIVIDE:
--#ifdef SVR4_COMMENT_CHARS
-- {
-- char *n, *t;
-- const char *s;
--
-- n = (char *) xmalloc (strlen (i386_comment_chars) + 1);
-- t = n;
-- for (s = i386_comment_chars; *s != '\0'; s++)
-- if (*s != '/')
-- *t++ = *s;
-- *t = '\0';
-- i386_comment_chars = n;
-- }
--#endif
- break;
-
- case OPTION_MARCH:
-@@ -7392,13 +7364,8 @@
- fprintf (stream, _("\
- --32/--64 generate 32bit/64bit code\n"));
- #endif
--#ifdef SVR4_COMMENT_CHARS
-- fprintf (stream, _("\
-- --divide do not treat `/' as a comment character\n"));
--#else
- fprintf (stream, _("\
- --divide ignored\n"));
--#endif
- fprintf (stream, _("\
- -march=CPU[,+EXTENSION...]\n\
- generate code for CPU and EXTENSION, CPU is one of:\n\
diff --git a/patches/binutils/2.18.50.0.6/100-arm-uclibcgnueabi.patch b/patches/binutils/2.18.50.0.6/100-arm-uclibcgnueabi.patch
deleted file mode 100644
index c3f9e77..0000000
--- a/patches/binutils/2.18.50.0.6/100-arm-uclibcgnueabi.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Patch from buildroot, updated to binutils-2.18.50.0.6.
-
- binutils-2.18.50.0.6/configure | 2 1 1 0 +-
- binutils-2.18.50.0.6/configure.ac | 2 1 1 0 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff -durN binutils-2.18.50.0.6.orig/configure binutils-2.18.50.0.6/configure
---- binutils-2.18.50.0.6.orig/configure 2008-04-03 18:54:04.000000000 +0200
-+++ binutils-2.18.50.0.6/configure 2008-05-02 23:18:42.000000000 +0200
-@@ -2298,7 +2298,7 @@
- noconfigdirs="$noconfigdirs target-libffi target-qthreads"
- libgloss_dir=arm
- ;;
-- arm*-*-linux-gnueabi)
-+ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
- noconfigdirs="$noconfigdirs target-qthreads"
- noconfigdirs="$noconfigdirs target-libobjc"
- case ${with_newlib} in
-diff -durN binutils-2.18.50.0.6.orig/configure.ac binutils-2.18.50.0.6/configure.ac
---- binutils-2.18.50.0.6.orig/configure.ac 2008-04-03 18:54:04.000000000 +0200
-+++ binutils-2.18.50.0.6/configure.ac 2008-05-02 23:18:01.000000000 +0200
-@@ -560,7 +560,7 @@
- noconfigdirs="$noconfigdirs target-libffi target-qthreads"
- libgloss_dir=arm
- ;;
-- arm*-*-linux-gnueabi)
-+ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
- noconfigdirs="$noconfigdirs target-qthreads"
- noconfigdirs="$noconfigdirs target-libobjc"
- case ${with_newlib} in
diff --git a/patches/binutils/2.18.50.0.6/110-ld-makefile-path.patch b/patches/binutils/2.18.50.0.6/110-ld-makefile-path.patch
deleted file mode 100644
index 9eea2a1..0000000
--- a/patches/binutils/2.18.50.0.6/110-ld-makefile-path.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Fix ld scripts path, copied from buildroot.
-
- binutils-2.18.50.0.6/ld/Makefile.am | 2 1 1 0 +-
- binutils-2.18.50.0.6/ld/Makefile.in | 2 1 1 0 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff -durN binutils-2.18.50.0.6.orig/ld/Makefile.am binutils-2.18.50.0.6/ld/Makefile.am
---- binutils-2.18.50.0.6.orig/ld/Makefile.am 2008-04-03 18:54:05.000000000 +0200
-+++ binutils-2.18.50.0.6/ld/Makefile.am 2008-05-02 23:25:14.000000000 +0200
-@@ -18,7 +18,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@
-diff -durN binutils-2.18.50.0.6.orig/ld/Makefile.in binutils-2.18.50.0.6/ld/Makefile.in
---- binutils-2.18.50.0.6.orig/ld/Makefile.in 2008-04-03 18:54:05.000000000 +0200
-+++ binutils-2.18.50.0.6/ld/Makefile.in 2008-05-02 23:25:14.000000000 +0200
-@@ -288,7 +288,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
diff --git a/patches/binutils/2.18.50.0.6/120-check-ldrunpath-length.patch b/patches/binutils/2.18.50.0.6/120-check-ldrunpath-length.patch
deleted file mode 100644
index 7b3e7e1..0000000
--- a/patches/binutils/2.18.50.0.6/120-check-ldrunpath-length.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Check LD_RUN_PATH length, copied from buildroot.
-
- binutils-2.18.50.0.6/ld/emultempl/elf32.em | 4 4 0 0 ++++
- 1 file changed, 4 insertions(+)
-
-diff -durN binutils-2.18.50.0.6.orig/ld/emultempl/elf32.em binutils-2.18.50.0.6/ld/emultempl/elf32.em
---- binutils-2.18.50.0.6.orig/ld/emultempl/elf32.em 2008-04-03 18:54:25.000000000 +0200
-+++ binutils-2.18.50.0.6/ld/emultempl/elf32.em 2008-05-02 23:30:08.000000000 +0200
-@@ -1220,6 +1220,8 @@
- && command_line.rpath == NULL)
- {
- lib_path = (const char *) getenv ("LD_RUN_PATH");
-+ if ((lib_path) && (strlen (lib_path) == 0))
-+ lib_path = NULL;
- if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
- force))
- break;
-@@ -1405,6 +1407,8 @@
- rpath = command_line.rpath;
- if (rpath == NULL)
- rpath = (const char *) getenv ("LD_RUN_PATH");
-+ if ((rpath) && (strlen (rpath) == 0))
-+ rpath = NULL;
- if (! (bfd_elf_size_dynamic_sections
- (link_info.output_bfd, command_line.soname, rpath,
- command_line.filter_shlib,
diff --git a/patches/binutils/2.18.50.0.6/130-i386-no-divide-comment.patch b/patches/binutils/2.18.50.0.6/130-i386-no-divide-comment.patch
deleted file mode 100644
index e435805..0000000
--- a/patches/binutils/2.18.50.0.6/130-i386-no-divide-comment.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-diff -durN binutils-2.18.50.0.6.orig/gas/config/tc-i386.c binutils-2.18.50.0.6/gas/config/tc-i386.c
---- binutils-2.18.50.0.6.orig/gas/config/tc-i386.c 2008-04-03 18:54:04.000000000 +0200
-+++ binutils-2.18.50.0.6/gas/config/tc-i386.c 2008-09-22 09:09:23.000000000 +0200
-@@ -312,24 +312,10 @@
- #endif
- ;
-
--#if (defined (TE_I386AIX) \
-- || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \
-- && !defined (TE_GNU) \
-- && !defined (TE_LINUX) \
-- && !defined (TE_NETWARE) \
-- && !defined (TE_FreeBSD) \
-- && !defined (TE_NetBSD)))
- /* This array holds the chars that always start a comment. If the
-- pre-processor is disabled, these aren't very useful. The option
-- --divide will remove '/' from this list. */
--const char *i386_comment_chars = "#/";
--#define SVR4_COMMENT_CHARS 1
--#define PREFIX_SEPARATOR '\\'
--
--#else
-+ pre-processor is disabled, these aren't very useful. */
- const char *i386_comment_chars = "#";
- #define PREFIX_SEPARATOR '/'
--#endif
-
- /* This array holds the chars that only start a comment at the beginning of
- a line. If the line seems to have the form '# 123 filename'
-@@ -7876,20 +7862,6 @@
- break;
-
- case OPTION_DIVIDE:
--#ifdef SVR4_COMMENT_CHARS
-- {
-- char *n, *t;
-- const char *s;
--
-- n = (char *) xmalloc (strlen (i386_comment_chars) + 1);
-- t = n;
-- for (s = i386_comment_chars; *s != '\0'; s++)
-- if (*s != '/')
-- *t++ = *s;
-- *t = '\0';
-- i386_comment_chars = n;
-- }
--#endif
- break;
-
- case OPTION_MARCH:
-@@ -8029,13 +8001,8 @@
- fprintf (stream, _("\
- --32/--64 generate 32bit/64bit code\n"));
- #endif
--#ifdef SVR4_COMMENT_CHARS
-- fprintf (stream, _("\
-- --divide do not treat `/' as a comment character\n"));
--#else
- fprintf (stream, _("\
- --divide ignored\n"));
--#endif
- fprintf (stream, _("\
- -march=CPU[,+EXTENSION...]\n\
- generate code for CPU and EXTENSION, CPU is one of:\n\
diff --git a/patches/binutils/2.18.50.0.7/100-arm-uclibcgnueabi.patch b/patches/binutils/2.18.50.0.7/100-arm-uclibcgnueabi.patch
deleted file mode 100644
index c3f9e77..0000000
--- a/patches/binutils/2.18.50.0.7/100-arm-uclibcgnueabi.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Patch from buildroot, updated to binutils-2.18.50.0.6.
-
- binutils-2.18.50.0.6/configure | 2 1 1 0 +-
- binutils-2.18.50.0.6/configure.ac | 2 1 1 0 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff -durN binutils-2.18.50.0.6.orig/configure binutils-2.18.50.0.6/configure
---- binutils-2.18.50.0.6.orig/configure 2008-04-03 18:54:04.000000000 +0200
-+++ binutils-2.18.50.0.6/configure 2008-05-02 23:18:42.000000000 +0200
-@@ -2298,7 +2298,7 @@
- noconfigdirs="$noconfigdirs target-libffi target-qthreads"
- libgloss_dir=arm
- ;;
-- arm*-*-linux-gnueabi)
-+ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
- noconfigdirs="$noconfigdirs target-qthreads"
- noconfigdirs="$noconfigdirs target-libobjc"
- case ${with_newlib} in
-diff -durN binutils-2.18.50.0.6.orig/configure.ac binutils-2.18.50.0.6/configure.ac
---- binutils-2.18.50.0.6.orig/configure.ac 2008-04-03 18:54:04.000000000 +0200
-+++ binutils-2.18.50.0.6/configure.ac 2008-05-02 23:18:01.000000000 +0200
-@@ -560,7 +560,7 @@
- noconfigdirs="$noconfigdirs target-libffi target-qthreads"
- libgloss_dir=arm
- ;;
-- arm*-*-linux-gnueabi)
-+ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
- noconfigdirs="$noconfigdirs target-qthreads"
- noconfigdirs="$noconfigdirs target-libobjc"
- case ${with_newlib} in
diff --git a/patches/binutils/2.18.50.0.7/110-ld-makefile-path.patch b/patches/binutils/2.18.50.0.7/110-ld-makefile-path.patch
deleted file mode 100644
index 9eea2a1..0000000
--- a/patches/binutils/2.18.50.0.7/110-ld-makefile-path.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Fix ld scripts path, copied from buildroot.
-
- binutils-2.18.50.0.6/ld/Makefile.am | 2 1 1 0 +-
- binutils-2.18.50.0.6/ld/Makefile.in | 2 1 1 0 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff -durN binutils-2.18.50.0.6.orig/ld/Makefile.am binutils-2.18.50.0.6/ld/Makefile.am
---- binutils-2.18.50.0.6.orig/ld/Makefile.am 2008-04-03 18:54:05.000000000 +0200
-+++ binutils-2.18.50.0.6/ld/Makefile.am 2008-05-02 23:25:14.000000000 +0200
-@@ -18,7 +18,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@
-diff -durN binutils-2.18.50.0.6.orig/ld/Makefile.in binutils-2.18.50.0.6/ld/Makefile.in
---- binutils-2.18.50.0.6.orig/ld/Makefile.in 2008-04-03 18:54:05.000000000 +0200
-+++ binutils-2.18.50.0.6/ld/Makefile.in 2008-05-02 23:25:14.000000000 +0200
-@@ -288,7 +288,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
diff --git a/patches/binutils/2.18.50.0.7/120-check-ldrunpath-length.patch b/patches/binutils/2.18.50.0.7/120-check-ldrunpath-length.patch
deleted file mode 100644
index 7b3e7e1..0000000
--- a/patches/binutils/2.18.50.0.7/120-check-ldrunpath-length.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Check LD_RUN_PATH length, copied from buildroot.
-
- binutils-2.18.50.0.6/ld/emultempl/elf32.em | 4 4 0 0 ++++
- 1 file changed, 4 insertions(+)
-
-diff -durN binutils-2.18.50.0.6.orig/ld/emultempl/elf32.em binutils-2.18.50.0.6/ld/emultempl/elf32.em
---- binutils-2.18.50.0.6.orig/ld/emultempl/elf32.em 2008-04-03 18:54:25.000000000 +0200
-+++ binutils-2.18.50.0.6/ld/emultempl/elf32.em 2008-05-02 23:30:08.000000000 +0200
-@@ -1220,6 +1220,8 @@
- && command_line.rpath == NULL)
- {
- lib_path = (const char *) getenv ("LD_RUN_PATH");
-+ if ((lib_path) && (strlen (lib_path) == 0))
-+ lib_path = NULL;
- if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
- force))
- break;
-@@ -1405,6 +1407,8 @@
- rpath = command_line.rpath;
- if (rpath == NULL)
- rpath = (const char *) getenv ("LD_RUN_PATH");
-+ if ((rpath) && (strlen (rpath) == 0))
-+ rpath = NULL;
- if (! (bfd_elf_size_dynamic_sections
- (link_info.output_bfd, command_line.soname, rpath,
- command_line.filter_shlib,
diff --git a/patches/binutils/2.18.50.0.7/130-i386-no-divide-comment.patch b/patches/binutils/2.18.50.0.7/130-i386-no-divide-comment.patch
deleted file mode 100644
index af62265..0000000
--- a/patches/binutils/2.18.50.0.7/130-i386-no-divide-comment.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-diff -durN binutils-2.18.50.0.7.orig/gas/config/tc-i386.c binutils-2.18.50.0.7/gas/config/tc-i386.c
---- binutils-2.18.50.0.7.orig/gas/config/tc-i386.c 2008-05-04 16:28:10.000000000 +0200
-+++ binutils-2.18.50.0.7/gas/config/tc-i386.c 2008-09-22 09:11:19.000000000 +0200
-@@ -312,24 +312,10 @@
- #endif
- ;
-
--#if (defined (TE_I386AIX) \
-- || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \
-- && !defined (TE_GNU) \
-- && !defined (TE_LINUX) \
-- && !defined (TE_NETWARE) \
-- && !defined (TE_FreeBSD) \
-- && !defined (TE_NetBSD)))
- /* This array holds the chars that always start a comment. If the
-- pre-processor is disabled, these aren't very useful. The option
-- --divide will remove '/' from this list. */
--const char *i386_comment_chars = "#/";
--#define SVR4_COMMENT_CHARS 1
--#define PREFIX_SEPARATOR '\\'
--
--#else
-+ pre-processor is disabled, these aren't very useful. */
- const char *i386_comment_chars = "#";
- #define PREFIX_SEPARATOR '/'
--#endif
-
- /* This array holds the chars that only start a comment at the beginning of
- a line. If the line seems to have the form '# 123 filename'
-@@ -7920,20 +7906,6 @@
- break;
-
- case OPTION_DIVIDE:
--#ifdef SVR4_COMMENT_CHARS
-- {
-- char *n, *t;
-- const char *s;
--
-- n = (char *) xmalloc (strlen (i386_comment_chars) + 1);
-- t = n;
-- for (s = i386_comment_chars; *s != '\0'; s++)
-- if (*s != '/')
-- *t++ = *s;
-- *t = '\0';
-- i386_comment_chars = n;
-- }
--#endif
- break;
-
- case OPTION_MARCH:
-@@ -8084,13 +8056,8 @@
- fprintf (stream, _("\
- --32/--64 generate 32bit/64bit code\n"));
- #endif
--#ifdef SVR4_COMMENT_CHARS
-- fprintf (stream, _("\
-- --divide do not treat `/' as a comment character\n"));
--#else
- fprintf (stream, _("\
- --divide ignored\n"));
--#endif
- fprintf (stream, _("\
- -march=CPU[,+EXTENSION...]\n\
- generate code for CPU and EXTENSION, CPU is one of:\n\
diff --git a/patches/binutils/2.18.50.0.8/100-arm-uclibcgnueabi.patch b/patches/binutils/2.18.50.0.8/100-arm-uclibcgnueabi.patch
deleted file mode 100644
index b4504d4..0000000
--- a/patches/binutils/2.18.50.0.8/100-arm-uclibcgnueabi.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -durN binutils-2.18.50.0.8.orig/configure binutils-2.18.50.0.8/configure
---- binutils-2.18.50.0.8.orig/configure 2008-07-10 17:32:56.000000000 +0200
-+++ binutils-2.18.50.0.8/configure 2008-07-13 23:08:13.000000000 +0200
-@@ -2313,7 +2313,7 @@
- noconfigdirs="$noconfigdirs target-libffi target-qthreads"
- libgloss_dir=arm
- ;;
-- arm*-*-linux-gnueabi)
-+ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
- noconfigdirs="$noconfigdirs target-qthreads"
- case ${with_newlib} in
- no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
-diff -durN binutils-2.18.50.0.8.orig/configure.ac binutils-2.18.50.0.8/configure.ac
---- binutils-2.18.50.0.8.orig/configure.ac 2008-07-10 17:32:56.000000000 +0200
-+++ binutils-2.18.50.0.8/configure.ac 2008-07-13 23:08:13.000000000 +0200
-@@ -562,7 +562,7 @@
- noconfigdirs="$noconfigdirs target-libffi target-qthreads"
- libgloss_dir=arm
- ;;
-- arm*-*-linux-gnueabi)
-+ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
- noconfigdirs="$noconfigdirs target-qthreads"
- case ${with_newlib} in
- no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
diff --git a/patches/binutils/2.18.50.0.8/110-ld-makefile-path.patch b/patches/binutils/2.18.50.0.8/110-ld-makefile-path.patch
deleted file mode 100644
index 41a2249..0000000
--- a/patches/binutils/2.18.50.0.8/110-ld-makefile-path.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -durN binutils-2.18.50.0.8.orig/ld/Makefile.am binutils-2.18.50.0.8/ld/Makefile.am
---- binutils-2.18.50.0.8.orig/ld/Makefile.am 2008-04-03 18:54:05.000000000 +0200
-+++ binutils-2.18.50.0.8/ld/Makefile.am 2008-07-13 23:15:40.000000000 +0200
-@@ -18,7 +18,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@
-diff -durN binutils-2.18.50.0.8.orig/ld/Makefile.in binutils-2.18.50.0.8/ld/Makefile.in
---- binutils-2.18.50.0.8.orig/ld/Makefile.in 2008-07-10 17:32:58.000000000 +0200
-+++ binutils-2.18.50.0.8/ld/Makefile.in 2008-07-13 23:15:40.000000000 +0200
-@@ -290,7 +290,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
diff --git a/patches/binutils/2.18.50.0.8/120-check-ldrunpath-length.patch b/patches/binutils/2.18.50.0.8/120-check-ldrunpath-length.patch
deleted file mode 100644
index f2f096d..0000000
--- a/patches/binutils/2.18.50.0.8/120-check-ldrunpath-length.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -durN binutils-2.18.50.0.8.orig/ld/emultempl/elf32.em binutils-2.18.50.0.8/ld/emultempl/elf32.em
---- binutils-2.18.50.0.8.orig/ld/emultempl/elf32.em 2008-07-10 17:33:23.000000000 +0200
-+++ binutils-2.18.50.0.8/ld/emultempl/elf32.em 2008-07-13 23:19:29.000000000 +0200
-@@ -1220,6 +1220,8 @@
- && command_line.rpath == NULL)
- {
- lib_path = (const char *) getenv ("LD_RUN_PATH");
-+ if ((lib_path) && (strlen (lib_path) == 0))
-+ lib_path = NULL;
- if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
- force))
- break;
-@@ -1405,6 +1407,8 @@
- rpath = command_line.rpath;
- if (rpath == NULL)
- rpath = (const char *) getenv ("LD_RUN_PATH");
-+ if ((rpath) && (strlen (rpath) == 0))
-+ rpath = NULL;
- if (! (bfd_elf_size_dynamic_sections
- (link_info.output_bfd, command_line.soname, rpath,
- command_line.filter_shlib,
diff --git a/patches/binutils/2.18.50.0.8/130-i386-no-divide-comment.patch b/patches/binutils/2.18.50.0.8/130-i386-no-divide-comment.patch
deleted file mode 100644
index 196671d..0000000
--- a/patches/binutils/2.18.50.0.8/130-i386-no-divide-comment.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-diff -durN binutils-2.18.50.0.8.orig/gas/config/tc-i386.c binutils-2.18.50.0.8/gas/config/tc-i386.c
---- binutils-2.18.50.0.8.orig/gas/config/tc-i386.c 2008-07-10 17:32:58.000000000 +0200
-+++ binutils-2.18.50.0.8/gas/config/tc-i386.c 2008-09-22 09:12:39.000000000 +0200
-@@ -313,24 +313,10 @@
- #endif
- ;
-
--#if (defined (TE_I386AIX) \
-- || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \
-- && !defined (TE_GNU) \
-- && !defined (TE_LINUX) \
-- && !defined (TE_NETWARE) \
-- && !defined (TE_FreeBSD) \
-- && !defined (TE_NetBSD)))
- /* This array holds the chars that always start a comment. If the
-- pre-processor is disabled, these aren't very useful. The option
-- --divide will remove '/' from this list. */
--const char *i386_comment_chars = "#/";
--#define SVR4_COMMENT_CHARS 1
--#define PREFIX_SEPARATOR '\\'
--
--#else
-+ pre-processor is disabled, these aren't very useful. */
- const char *i386_comment_chars = "#";
- #define PREFIX_SEPARATOR '/'
--#endif
-
- /* This array holds the chars that only start a comment at the beginning of
- a line. If the line seems to have the form '# 123 filename'
-@@ -7952,20 +7938,6 @@
- break;
-
- case OPTION_DIVIDE:
--#ifdef SVR4_COMMENT_CHARS
-- {
-- char *n, *t;
-- const char *s;
--
-- n = (char *) xmalloc (strlen (i386_comment_chars) + 1);
-- t = n;
-- for (s = i386_comment_chars; *s != '\0'; s++)
-- if (*s != '/')
-- *t++ = *s;
-- *t = '\0';
-- i386_comment_chars = n;
-- }
--#endif
- break;
-
- case OPTION_MARCH:
-@@ -8116,13 +8088,8 @@
- fprintf (stream, _("\
- --32/--64 generate 32bit/64bit code\n"));
- #endif
--#ifdef SVR4_COMMENT_CHARS
-- fprintf (stream, _("\
-- --divide do not treat `/' as a comment character\n"));
--#else
- fprintf (stream, _("\
- --divide ignored\n"));
--#endif
- fprintf (stream, _("\
- -march=CPU[,+EXTENSION...]\n\
- generate code for CPU and EXTENSION, CPU is one of:\n\
diff --git a/patches/binutils/2.18.50.0.9/100-arm-uclibcgnueabi.patch b/patches/binutils/2.18.50.0.9/100-arm-uclibcgnueabi.patch
deleted file mode 100644
index b4504d4..0000000
--- a/patches/binutils/2.18.50.0.9/100-arm-uclibcgnueabi.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -durN binutils-2.18.50.0.8.orig/configure binutils-2.18.50.0.8/configure
---- binutils-2.18.50.0.8.orig/configure 2008-07-10 17:32:56.000000000 +0200
-+++ binutils-2.18.50.0.8/configure 2008-07-13 23:08:13.000000000 +0200
-@@ -2313,7 +2313,7 @@
- noconfigdirs="$noconfigdirs target-libffi target-qthreads"
- libgloss_dir=arm
- ;;
-- arm*-*-linux-gnueabi)
-+ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
- noconfigdirs="$noconfigdirs target-qthreads"
- case ${with_newlib} in
- no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
-diff -durN binutils-2.18.50.0.8.orig/configure.ac binutils-2.18.50.0.8/configure.ac
---- binutils-2.18.50.0.8.orig/configure.ac 2008-07-10 17:32:56.000000000 +0200
-+++ binutils-2.18.50.0.8/configure.ac 2008-07-13 23:08:13.000000000 +0200
-@@ -562,7 +562,7 @@
- noconfigdirs="$noconfigdirs target-libffi target-qthreads"
- libgloss_dir=arm
- ;;
-- arm*-*-linux-gnueabi)
-+ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
- noconfigdirs="$noconfigdirs target-qthreads"
- case ${with_newlib} in
- no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
diff --git a/patches/binutils/2.18.50.0.9/110-ld-makefile-path.patch b/patches/binutils/2.18.50.0.9/110-ld-makefile-path.patch
deleted file mode 100644
index 41a2249..0000000
--- a/patches/binutils/2.18.50.0.9/110-ld-makefile-path.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -durN binutils-2.18.50.0.8.orig/ld/Makefile.am binutils-2.18.50.0.8/ld/Makefile.am
---- binutils-2.18.50.0.8.orig/ld/Makefile.am 2008-04-03 18:54:05.000000000 +0200
-+++ binutils-2.18.50.0.8/ld/Makefile.am 2008-07-13 23:15:40.000000000 +0200
-@@ -18,7 +18,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@
-diff -durN binutils-2.18.50.0.8.orig/ld/Makefile.in binutils-2.18.50.0.8/ld/Makefile.in
---- binutils-2.18.50.0.8.orig/ld/Makefile.in 2008-07-10 17:32:58.000000000 +0200
-+++ binutils-2.18.50.0.8/ld/Makefile.in 2008-07-13 23:15:40.000000000 +0200
-@@ -290,7 +290,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
diff --git a/patches/binutils/2.18.50.0.9/120-check-ldrunpath-length.patch b/patches/binutils/2.18.50.0.9/120-check-ldrunpath-length.patch
deleted file mode 100644
index f2f096d..0000000
--- a/patches/binutils/2.18.50.0.9/120-check-ldrunpath-length.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -durN binutils-2.18.50.0.8.orig/ld/emultempl/elf32.em binutils-2.18.50.0.8/ld/emultempl/elf32.em
---- binutils-2.18.50.0.8.orig/ld/emultempl/elf32.em 2008-07-10 17:33:23.000000000 +0200
-+++ binutils-2.18.50.0.8/ld/emultempl/elf32.em 2008-07-13 23:19:29.000000000 +0200
-@@ -1220,6 +1220,8 @@
- && command_line.rpath == NULL)
- {
- lib_path = (const char *) getenv ("LD_RUN_PATH");
-+ if ((lib_path) && (strlen (lib_path) == 0))
-+ lib_path = NULL;
- if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
- force))
- break;
-@@ -1405,6 +1407,8 @@
- rpath = command_line.rpath;
- if (rpath == NULL)
- rpath = (const char *) getenv ("LD_RUN_PATH");
-+ if ((rpath) && (strlen (rpath) == 0))
-+ rpath = NULL;
- if (! (bfd_elf_size_dynamic_sections
- (link_info.output_bfd, command_line.soname, rpath,
- command_line.filter_shlib,
diff --git a/patches/binutils/2.18.50.0.9/130-i386-no-divide-comment.patch b/patches/binutils/2.18.50.0.9/130-i386-no-divide-comment.patch
deleted file mode 100644
index 196671d..0000000
--- a/patches/binutils/2.18.50.0.9/130-i386-no-divide-comment.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-diff -durN binutils-2.18.50.0.8.orig/gas/config/tc-i386.c binutils-2.18.50.0.8/gas/config/tc-i386.c
---- binutils-2.18.50.0.8.orig/gas/config/tc-i386.c 2008-07-10 17:32:58.000000000 +0200
-+++ binutils-2.18.50.0.8/gas/config/tc-i386.c 2008-09-22 09:12:39.000000000 +0200
-@@ -313,24 +313,10 @@
- #endif
- ;
-
--#if (defined (TE_I386AIX) \
-- || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \
-- && !defined (TE_GNU) \
-- && !defined (TE_LINUX) \
-- && !defined (TE_NETWARE) \
-- && !defined (TE_FreeBSD) \
-- && !defined (TE_NetBSD)))
- /* This array holds the chars that always start a comment. If the
-- pre-processor is disabled, these aren't very useful. The option
-- --divide will remove '/' from this list. */
--const char *i386_comment_chars = "#/";
--#define SVR4_COMMENT_CHARS 1
--#define PREFIX_SEPARATOR '\\'
--
--#else
-+ pre-processor is disabled, these aren't very useful. */
- const char *i386_comment_chars = "#";
- #define PREFIX_SEPARATOR '/'
--#endif
-
- /* This array holds the chars that only start a comment at the beginning of
- a line. If the line seems to have the form '# 123 filename'
-@@ -7952,20 +7938,6 @@
- break;
-
- case OPTION_DIVIDE:
--#ifdef SVR4_COMMENT_CHARS
-- {
-- char *n, *t;
-- const char *s;
--
-- n = (char *) xmalloc (strlen (i386_comment_chars) + 1);
-- t = n;
-- for (s = i386_comment_chars; *s != '\0'; s++)
-- if (*s != '/')
-- *t++ = *s;
-- *t = '\0';
-- i386_comment_chars = n;
-- }
--#endif
- break;
-
- case OPTION_MARCH:
-@@ -8116,13 +8088,8 @@
- fprintf (stream, _("\
- --32/--64 generate 32bit/64bit code\n"));
- #endif
--#ifdef SVR4_COMMENT_CHARS
-- fprintf (stream, _("\
-- --divide do not treat `/' as a comment character\n"));
--#else
- fprintf (stream, _("\
- --divide ignored\n"));
--#endif
- fprintf (stream, _("\
- -march=CPU[,+EXTENSION...]\n\
- generate code for CPU and EXTENSION, CPU is one of:\n\