patches/binutils/2.18.50.0.9/100-arm-uclibcgnueabi.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Sep 23 14:48:10 2008 +0000 (2008-09-23)
changeset 872 fd4bf138f08f
parent 652 bed1088fd34d
permissions -rw-r--r--
Bart De VOS pointed out that removing absolute paths from the libc linker scripts is plainly wrong.
It dates from dawn ages of the original crosstool code, and is not well explained. At that time, binutils might not understand the sysroot stuff, and it was necessary to remove absolute paths in that case.

/trunk/scripts/build/libc/glibc.sh | 14 2 12 0 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
yann@652
     1
diff -durN binutils-2.18.50.0.8.orig/configure binutils-2.18.50.0.8/configure
yann@652
     2
--- binutils-2.18.50.0.8.orig/configure	2008-07-10 17:32:56.000000000 +0200
yann@652
     3
+++ binutils-2.18.50.0.8/configure	2008-07-13 23:08:13.000000000 +0200
yann@652
     4
@@ -2313,7 +2313,7 @@
yann@652
     5
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
yann@652
     6
     libgloss_dir=arm
yann@652
     7
     ;;
yann@652
     8
-  arm*-*-linux-gnueabi)
yann@652
     9
+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
yann@652
    10
     noconfigdirs="$noconfigdirs target-qthreads"
yann@652
    11
     case ${with_newlib} in
yann@652
    12
       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
yann@652
    13
diff -durN binutils-2.18.50.0.8.orig/configure.ac binutils-2.18.50.0.8/configure.ac
yann@652
    14
--- binutils-2.18.50.0.8.orig/configure.ac	2008-07-10 17:32:56.000000000 +0200
yann@652
    15
+++ binutils-2.18.50.0.8/configure.ac	2008-07-13 23:08:13.000000000 +0200
yann@652
    16
@@ -562,7 +562,7 @@
yann@652
    17
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
yann@652
    18
     libgloss_dir=arm
yann@652
    19
     ;;
yann@652
    20
-  arm*-*-linux-gnueabi)
yann@652
    21
+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
yann@652
    22
     noconfigdirs="$noconfigdirs target-qthreads"
yann@652
    23
     case ${with_newlib} in
yann@652
    24
       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"