patches/binutils/2.20/240-ld_makefile.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jan 03 23:40:22 2011 +0100 (2011-01-03)
changeset 2267 7af68e6083aa
permissions -rw-r--r--
libc-glibc: remove 2.3.6

This is an obsolete version which is no longer used by any sample (the only
user, the ia64 sample, has been removed).

It also makes the code path a bit complex, with twists just to accomodate
that version. Removing the version will make those twists go away, and
will ease commonalisation of glibc and eglibc in the future (hopefully!).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
jocke@1700
     1
Description: correct where ld scripts are installed
jocke@1700
     2
Author: Chris Chimelis <chris@debian.org>
jocke@1700
     3
jocke@1700
     4
--- binutils-2.16.91.0.1/ld/Makefile.am
jocke@1700
     5
+++ binutils-2.16.91.0.1/ld/Makefile.am
jocke@1700
     6
@@ -20,7 +20,7 @@
jocke@1700
     7
 # We put the scripts in the directory $(scriptdir)/ldscripts.
jocke@1700
     8
 # We can't put the scripts in $(datadir) because the SEARCH_DIR
jocke@1700
     9
 # directives need to be different for native and cross linkers.
jocke@1700
    10
-scriptdir = $(tooldir)/lib
jocke@1700
    11
+scriptdir = $(libdir)
jocke@1700
    12
 
jocke@1700
    13
 EMUL = @EMUL@
jocke@1700
    14
 EMULATION_OFILES = @EMULATION_OFILES@
jocke@1700
    15
--- binutils-2.16.91.0.1/ld/Makefile.in
jocke@1700
    16
+++ binutils-2.16.91.0.1/ld/Makefile.in
jocke@1700
    17
@@ -268,7 +268,7 @@
jocke@1700
    18
 # We put the scripts in the directory $(scriptdir)/ldscripts.
jocke@1700
    19
 # We can't put the scripts in $(datadir) because the SEARCH_DIR
jocke@1700
    20
 # directives need to be different for native and cross linkers.
jocke@1700
    21
-scriptdir = $(tooldir)/lib
jocke@1700
    22
+scriptdir = $(libdir)
jocke@1700
    23
 BASEDIR = $(srcdir)/..
jocke@1700
    24
 BFDDIR = $(BASEDIR)/bfd
jocke@1700
    25
 INCDIR = $(BASEDIR)/include