patches/binutils/2.14/100-sh-relocs.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jan 03 21:11:41 2009 +0000 (2009-01-03)
changeset 1112 c72aecd1a9ef
parent 402 197e1b49586e
permissions -rw-r--r--
Get rid of all stuff related to building a /delivery' traball:
- building a delivery tarball has long been broken (since crostool-Ng is installable)
- get rid of implied do_print_filename, that can be mis-leading now tarballs can not be built

/trunk/scripts/build/kernel/bare-metal.sh | 4 0 4 0 ----
/trunk/scripts/build/kernel/linux.sh | 4 0 4 0 ----
/trunk/scripts/build/tools/000-template.sh | 11 0 11 0 -----------
/trunk/scripts/build/tools/100-libelf.sh | 4 0 4 0 ----
/trunk/scripts/build/tools/200-sstrip.sh | 11 1 10 0 +----------
/trunk/scripts/build/binutils.sh | 4 0 4 0 ----
/trunk/scripts/build/cc/gcc.sh | 5 0 5 0 -----
/trunk/scripts/build/debug/000-template.sh | 11 0 11 0 -----------
/trunk/scripts/build/debug/100-dmalloc.sh | 4 0 4 0 ----
/trunk/scripts/build/debug/400-ltrace.sh | 4 0 4 0 ----
/trunk/scripts/build/debug/300-gdb.sh | 7 0 7 0 -------
/trunk/scripts/build/debug/500-strace.sh | 4 0 4 0 ----
/trunk/scripts/build/debug/200-duma.sh | 4 0 4 0 ----
/trunk/scripts/build/libc/none.sh | 5 0 5 0 -----
/trunk/scripts/build/libc/glibc.sh | 10 0 10 0 ----------
/trunk/scripts/build/libc/uClibc.sh | 6 0 6 0 ------
/trunk/scripts/build/libc/eglibc.sh | 10 0 10 0 ----------
/trunk/scripts/build/gmp.sh | 6 0 6 0 ------
/trunk/scripts/build/mpfr.sh | 6 0 6 0 ------
/trunk/docs/overview.txt | 9 0 9 0 ---------
20 files changed, 1 insertion(+), 128 deletions(-)
     1 Message-Id: <200307311239.h6VCdNe27056@r-rr.iij4u.or.jp>
     2 To: dank@kegel.com
     3 Cc: kkojima@rr.iij4u.or.jp
     4 Subject: Re: Writing PIC version of __udivsi3_i4? (was: Re: "make tests" fails
     5  with "libc.so: text relocations used" in glibc-2.3.2 for sh4)
     6 In-Reply-To: Your message of "Wed, 30 Jul 2003 21:55:54 -0700"
     7 	<3F28A15A.5010400@kegel.com>
     8 References: <3F28A15A.5010400@kegel.com>
     9 Date: Thu, 31 Jul 2003 21:47:38 +0900
    10 From: kaz Kojima <kkojima@rr.iij4u.or.jp>
    11 
    12 Dan Kegel <dank@kegel.com> wrote:
    13 >> I'll give binutils-2.14.90.0.5 a shot, then. 
    14 > 
    15 > No joy - same problem.  Guess I'll take this up on binutils and/or libc-alpha.
    16 
    17 Please try the patch below, though it's a diff against the current
    18 binutils CVS.
    19 
    20 Regards,
    21 	kaz
    22 --
    23 diff -u3p ORIG/src/bfd/elf32-sh.c LOCAL/src/bfd/elf32-sh.c
    24 --- src/bfd/elf32-sh.c.old	Fri Jul 25 14:46:58 2003
    25 +++ src/bfd/elf32-sh.c	Thu Jul 31 21:09:38 2003
    26 @@ -6497,8 +6497,10 @@ sh_elf_check_relocs (bfd *abfd, struct b
    27  							  sreloc, 2))
    28  			return FALSE;
    29  		    }
    30 +#if 0
    31  		  if (sec->flags & SEC_READONLY)
    32  		    info->flags |= DF_TEXTREL;
    33 +#endif
    34  		  elf_section_data (sec)->sreloc = sreloc;
    35  		}
    36  
    37 
    38