summaryrefslogtreecommitdiff
path: root/patches/binutils/2.14.90.0.5
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-02-24 11:00:05 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-02-24 11:00:05 (GMT)
commit1906cf93f86d8d66f45f90380a8d3da25c087ee5 (patch)
tree90916c99abe1f1ec26709ee420e6c349eda4670a /patches/binutils/2.14.90.0.5
parent2609573aede4ce198b3462976725b25eb1637d2e (diff)
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(
Diffstat (limited to 'patches/binutils/2.14.90.0.5')
-rw-r--r--patches/binutils/2.14.90.0.5/binutils-cross-demangler.patch11
-rw-r--r--patches/binutils/2.14.90.0.5/binutils-sh-relocs.patch38
2 files changed, 49 insertions, 0 deletions
diff --git a/patches/binutils/2.14.90.0.5/binutils-cross-demangler.patch b/patches/binutils/2.14.90.0.5/binutils-cross-demangler.patch
new file mode 100644
index 0000000..ec701ce
--- /dev/null
+++ b/patches/binutils/2.14.90.0.5/binutils-cross-demangler.patch
@@ -0,0 +1,11 @@
+--- orig/Makefile.in 2004-05-12 18:22:30.000000000 -0700
++++ binutils-2.14.90.0.5/Makefile.in 2004-05-12 18:26:19.000000000 -0700
+@@ -24384,6 +24384,8 @@
+ # Demangler depends on libiberty.
+ configure-demangler: maybe-configure-libiberty
+ all-demangler: maybe-all-libiberty
++configure-build-demangler: maybe-configure-build-libiberty
++all-build-demangler: maybe-all-build-libiberty
+
+ # The new demangler, which is included in libiberty, is written in C++.
+ # A working C++ compiler is required. For the target demangler, it may
diff --git a/patches/binutils/2.14.90.0.5/binutils-sh-relocs.patch b/patches/binutils/2.14.90.0.5/binutils-sh-relocs.patch
new file mode 100644
index 0000000..ca0f2ac
--- /dev/null
+++ b/patches/binutils/2.14.90.0.5/binutils-sh-relocs.patch
@@ -0,0 +1,38 @@
+Message-Id: <200307311239.h6VCdNe27056@r-rr.iij4u.or.jp>
+To: dank@kegel.com
+Cc: kkojima@rr.iij4u.or.jp
+Subject: Re: Writing PIC version of __udivsi3_i4? (was: Re: "make tests" fails
+ with "libc.so: text relocations used" in glibc-2.3.2 for sh4)
+In-Reply-To: Your message of "Wed, 30 Jul 2003 21:55:54 -0700"
+ <3F28A15A.5010400@kegel.com>
+References: <3F28A15A.5010400@kegel.com>
+Date: Thu, 31 Jul 2003 21:47:38 +0900
+From: kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+Dan Kegel <dank@kegel.com> wrote:
+>> I'll give binutils-2.14.90.0.5 a shot, then.
+>
+> No joy - same problem. Guess I'll take this up on binutils and/or libc-alpha.
+
+Please try the patch below, though it's a diff against the current
+binutils CVS.
+
+Regards,
+ kaz
+--
+diff -u3p ORIG/src/bfd/elf32-sh.c LOCAL/src/bfd/elf32-sh.c
+--- src/bfd/elf32-sh.c.old Fri Jul 25 14:46:58 2003
++++ src/bfd/elf32-sh.c Thu Jul 31 21:09:38 2003
+@@ -6497,8 +6497,10 @@ sh_elf_check_relocs (bfd *abfd, struct b
+ sreloc, 2))
+ return FALSE;
+ }
++#if 0
+ if (sec->flags & SEC_READONLY)
+ info->flags |= DF_TEXTREL;
++#endif
+ elf_section_data (sec)->sreloc = sreloc;
+ }
+
+
+