summaryrefslogtreecommitdiff
path: root/patches/binutils/2.14/100-binutils-sh-relocs.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-09-23 17:08:09 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-09-23 17:08:09 (GMT)
commitb1e693e40281dc8c451e8892dfcdf55d78a4ade3 (patch)
treec276bc44f23b42895b459efbf2597f4bef378819 /patches/binutils/2.14/100-binutils-sh-relocs.patch
parent3ad6464ffe38eb15591b404e0749aa89f4074fd1 (diff)
Renamed all patches file names so that locales are now irrelevant to sort the files.
Removed the locale check as it is now irrelevant. Removed the experimental binutils 2.17.50.0.xx: 2.18 is here now.
Diffstat (limited to 'patches/binutils/2.14/100-binutils-sh-relocs.patch')
-rw-r--r--patches/binutils/2.14/100-binutils-sh-relocs.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/patches/binutils/2.14/100-binutils-sh-relocs.patch b/patches/binutils/2.14/100-binutils-sh-relocs.patch
new file mode 100644
index 0000000..ca0f2ac
--- /dev/null
+++ b/patches/binutils/2.14/100-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;
+ }
+
+
+