diff options
Diffstat (limited to 'patches/binutils/2.18a')
-rw-r--r-- | patches/binutils/2.18a/100-makeinfo-version.patch | 32 | ||||
-rw-r--r-- | patches/binutils/2.18a/110-enable-dash-v2.patch | 20 | ||||
-rw-r--r-- | patches/binutils/2.18a/120-i386-no-divide-comment.patch | 64 |
3 files changed, 0 insertions, 116 deletions
diff --git a/patches/binutils/2.18a/100-makeinfo-version.patch b/patches/binutils/2.18a/100-makeinfo-version.patch deleted file mode 100644 index d911d623..00000000 --- a/patches/binutils/2.18a/100-makeinfo-version.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -u binutils-2.18-orig/configure binutils-2.18/configure ---- binutils-2.18-orig/configure 2007-08-06 16:29:40.000000000 -0400 -+++ binutils-2.18/configure 2007-09-27 22:41:51.000000000 -0400 -@@ -6125,10 +6125,10 @@ - *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;; - *) - -- # For an installed makeinfo, we require it to be from texinfo 4.4 or -+ # For an installed makeinfo, we require it to be from texinfo 4.6 or - # higher, else we use the "missing" dummy. - if ${MAKEINFO} --version \ -- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then -+ | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then - : - else - MAKEINFO="$MISSING makeinfo" -diff -u binutils-2.18-orig/configure.ac binutils-2.18/configure.ac ---- binutils-2.18-orig/configure.ac 2007-08-28 16:24:26.000000000 -0400 -+++ binutils-2.18/configure.ac 2007-09-27 22:41:00.000000000 -0400 -@@ -2400,10 +2400,10 @@ - *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;; - *) - changequote(,) -- # For an installed makeinfo, we require it to be from texinfo 4.4 or -+ # For an installed makeinfo, we require it to be from texinfo 4.6 or - # higher, else we use the "missing" dummy. - if ${MAKEINFO} --version \ -- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then -+ | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then - : - else - MAKEINFO="$MISSING makeinfo" diff --git a/patches/binutils/2.18a/110-enable-dash-v2.patch b/patches/binutils/2.18a/110-enable-dash-v2.patch deleted file mode 100644 index 587082c9..00000000 --- a/patches/binutils/2.18a/110-enable-dash-v2.patch +++ /dev/null @@ -1,20 +0,0 @@ -Enable using a shell other than bash. -Courtesy "Martin Guy" <martinwguy@yahoo.it> -http://sourceware.org/ml/crossgcc/2008-08/msg00037.html - ---- binutils-2.18.orig/ld/genscripts.sh 2007-08-12 20:00:07.000000000 +0100 -+++ binutils-2.18/ld/genscripts.sh 2008-08-25 16:09:54.000000000 +0100 -@@ -398,9 +398,11 @@ - . $em_script - em_script=$current_script - } -- fragment() -+ -+ alias fragment='em_lineno=$LINENO; fragment_em' -+ fragment_em() - { -- local lineno=$[${BASH_LINENO[0]} + 1] -+ local lineno=$[$em_lineno + 1] - echo >> e${EMULATION_NAME}.c "#line $lineno \"$em_script\"" - cat >> e${EMULATION_NAME}.c - } diff --git a/patches/binutils/2.18a/120-i386-no-divide-comment.patch b/patches/binutils/2.18a/120-i386-no-divide-comment.patch deleted file mode 100644 index efbbceaf..00000000 --- a/patches/binutils/2.18a/120-i386-no-divide-comment.patch +++ /dev/null @@ -1,64 +0,0 @@ -diff -durN binutils-2.18.orig/gas/config/tc-i386.c binutils-2.18/gas/config/tc-i386.c ---- binutils-2.18.orig/gas/config/tc-i386.c 2007-08-24 16:01:22.000000000 +0200 -+++ binutils-2.18/gas/config/tc-i386.c 2008-09-22 08:11:42.000000000 +0200 -@@ -180,24 +180,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' -@@ -6061,20 +6047,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: -@@ -6142,13 +6114,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/-mtune=CPU generate code/optimize for CPU, where CPU is one of:\n\ - i386, i486, pentium, pentiumpro, pentium4, nocona,\n\ |