Ignore:
Timestamp:
Jun 3, 2009, 12:19:12 PM (15 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
eafdda9
Parents:
77e17c8d
Message:

Updated to GCC 4.4.0

File:
1 moved

Legend:

Unmodified
Added
Removed
  • patches/gcc-4.4.0-specs-1.patch

    r77e17c8d r56a4eb5  
    11Submitted By: Jim Gifford (jim at cross-lfs dot org)
    2 Date: 01-25-2009
    3 Initial Package Version: 4.3.3
     2Date: 04-21-2009
     3Initial Package Version: 4.4.0
    44Origin: Idea originally developed by Ryan Oliver and Greg Schafer for
    55        the Pure LFS project.
    66Upstream Status: Not Applied
    7 Description: This patch modifies the location of the dynamic linker for gcc-4.3.3.
     7Description: This patch modifies the location of the dynamic linker for gcc-4.4.0.
    88
    9 diff -Naur gcc-4.3.3.orig/gcc/config/alpha/gnu.h gcc-4.3.3/gcc/config/alpha/gnu.h
    10 --- gcc-4.3.3.orig/gcc/config/alpha/gnu.h       2004-09-07 17:17:19.000000000 -0700
    11 +++ gcc-4.3.3/gcc/config/alpha/gnu.h    2009-01-25 00:44:15.387601620 -0800
     9diff -Naur gcc-4.4.0.orig/gcc/config/alpha/gnu.h gcc-4.4.0/gcc/config/alpha/gnu.h
     10--- gcc-4.4.0.orig/gcc/config/alpha/gnu.h       2004-09-07 17:17:19.000000000 -0700
     11+++ gcc-4.4.0/gcc/config/alpha/gnu.h    2009-04-21 10:05:33.058642828 -0700
    1212@@ -11,7 +11,7 @@
    1313     } while (0)
     
    1919 #undef STARTFILE_SPEC
    2020 #define STARTFILE_SPEC \
    21 diff -Naur gcc-4.3.3.orig/gcc/config/alpha/linux-elf.h gcc-4.3.3/gcc/config/alpha/linux-elf.h
    22 --- gcc-4.3.3.orig/gcc/config/alpha/linux-elf.h 2007-08-02 03:49:31.000000000 -0700
    23 +++ gcc-4.3.3/gcc/config/alpha/linux-elf.h      2009-01-25 00:44:15.527054895 -0800
     21diff -Naur gcc-4.4.0.orig/gcc/config/alpha/linux-elf.h gcc-4.4.0/gcc/config/alpha/linux-elf.h
     22--- gcc-4.4.0.orig/gcc/config/alpha/linux-elf.h 2007-08-02 03:49:31.000000000 -0700
     23+++ gcc-4.4.0/gcc/config/alpha/linux-elf.h      2009-04-21 10:05:33.167886578 -0700
    2424@@ -27,8 +27,8 @@
    2525 #define EXTRA_SPECS \
     
    3333 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    3434 #else
    35 diff -Naur gcc-4.3.3.orig/gcc/config/arm/linux-eabi.h gcc-4.3.3/gcc/config/arm/linux-eabi.h
    36 --- gcc-4.3.3.orig/gcc/config/arm/linux-eabi.h  2007-11-08 05:44:09.000000000 -0800
    37 +++ gcc-4.3.3/gcc/config/arm/linux-eabi.h       2009-01-25 00:44:20.001844391 -0800
     35diff -Naur gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h gcc-4.4.0/gcc/config/arm/linux-eabi.h
     36--- gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h  2007-11-08 05:44:09.000000000 -0800
     37+++ gcc-4.4.0/gcc/config/arm/linux-eabi.h       2009-04-21 10:05:37.592169299 -0700
    3838@@ -61,7 +61,7 @@
    3939 /* Use ld-linux.so.3 so that it will be possible to run "classic"
     
    4545 /* At this point, bpabi.h will have clobbered LINK_SPEC.  We want to
    4646    use the GNU/Linux version, not the generic BPABI version.  */
    47 diff -Naur gcc-4.3.3.orig/gcc/config/arm/linux-elf.h gcc-4.3.3/gcc/config/arm/linux-elf.h
    48 --- gcc-4.3.3.orig/gcc/config/arm/linux-elf.h   2007-11-08 05:44:09.000000000 -0800
    49 +++ gcc-4.3.3/gcc/config/arm/linux-elf.h        2009-01-25 00:44:19.714736136 -0800
     47diff -Naur gcc-4.4.0.orig/gcc/config/arm/linux-elf.h gcc-4.4.0/gcc/config/arm/linux-elf.h
     48--- gcc-4.4.0.orig/gcc/config/arm/linux-elf.h   2009-02-20 07:20:38.000000000 -0800
     49+++ gcc-4.4.0/gcc/config/arm/linux-elf.h        2009-04-21 10:05:37.389291242 -0700
    5050@@ -62,7 +62,7 @@
    5151 
     
    5757 #define LINUX_TARGET_LINK_SPEC  "%{h*} %{version:-v} \
    5858    %{b} \
    59 diff -Naur gcc-4.3.3.orig/gcc/config/bfin/linux.h gcc-4.3.3/gcc/config/bfin/linux.h
    60 --- gcc-4.3.3.orig/gcc/config/bfin/linux.h      2007-09-05 17:09:05.000000000 -0700
    61 +++ gcc-4.3.3/gcc/config/bfin/linux.h   2009-01-25 00:44:12.614954881 -0800
     59diff -Naur gcc-4.4.0.orig/gcc/config/bfin/linux.h gcc-4.4.0/gcc/config/bfin/linux.h
     60--- gcc-4.4.0.orig/gcc/config/bfin/linux.h      2008-11-27 01:11:50.000000000 -0800
     61+++ gcc-4.4.0/gcc/config/bfin/linux.h   2009-04-21 10:05:29.793102668 -0700
    6262@@ -22,7 +22,7 @@
    6363   %{shared:-G -Bdynamic} \
     
    6969 
    7070 #define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h"
    71 diff -Naur gcc-4.3.3.orig/gcc/config/cris/linux.h gcc-4.3.3/gcc/config/cris/linux.h
    72 --- gcc-4.3.3.orig/gcc/config/cris/linux.h      2008-01-23 09:17:58.000000000 -0800
    73 +++ gcc-4.3.3/gcc/config/cris/linux.h   2009-01-25 00:44:10.547772593 -0800
    74 @@ -102,7 +102,7 @@
     71diff -Naur gcc-4.4.0.orig/gcc/config/cris/linux.h gcc-4.4.0/gcc/config/cris/linux.h
     72--- gcc-4.4.0.orig/gcc/config/cris/linux.h      2009-03-22 08:15:04.000000000 -0700
     73+++ gcc-4.4.0/gcc/config/cris/linux.h   2009-04-21 10:05:27.167401313 -0700
     74@@ -103,7 +103,7 @@
    7575 #undef CRIS_DEFAULT_CPU_VERSION
    7676 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
     
    8181 /* We need an -rpath-link to ld.so.1, and presumably to each directory
    8282    specified with -B.  */
    83 diff -Naur gcc-4.3.3.orig/gcc/config/frv/linux.h gcc-4.3.3/gcc/config/frv/linux.h
    84 --- gcc-4.3.3.orig/gcc/config/frv/linux.h       2007-08-02 03:49:31.000000000 -0700
    85 +++ gcc-4.3.3/gcc/config/frv/linux.h    2009-01-25 00:44:10.199141500 -0800
     83diff -Naur gcc-4.4.0.orig/gcc/config/frv/linux.h gcc-4.4.0/gcc/config/frv/linux.h
     84--- gcc-4.4.0.orig/gcc/config/frv/linux.h       2007-08-02 03:49:31.000000000 -0700
     85+++ gcc-4.4.0/gcc/config/frv/linux.h    2009-04-21 10:05:26.843578992 -0700
    8686@@ -35,7 +35,7 @@
    8787 #define ENDFILE_SPEC \
     
    9393 #undef LINK_SPEC
    9494 #define LINK_SPEC "\
    95 diff -Naur gcc-4.3.3.orig/gcc/config/i386/gnu.h gcc-4.3.3/gcc/config/i386/gnu.h
    96 --- gcc-4.3.3.orig/gcc/config/i386/gnu.h        2007-08-07 23:35:17.000000000 -0700
    97 +++ gcc-4.3.3/gcc/config/i386/gnu.h     2009-01-25 00:44:12.893860874 -0800
    98 @@ -22,7 +22,7 @@
    99    %{!shared: \
    100      %{!static: \
    101        %{rdynamic:-export-dynamic} \
    102 -      %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \
    103 +      %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so}} \
    104      %{static:-static}}"
    105  
    106  #undef STARTFILE_SPEC
    107 diff -Naur gcc-4.3.3.orig/gcc/config/i386/linux64.h gcc-4.3.3/gcc/config/i386/linux64.h
    108 --- gcc-4.3.3.orig/gcc/config/i386/linux64.h    2007-08-02 03:49:31.000000000 -0700
    109 +++ gcc-4.3.3/gcc/config/i386/linux64.h 2009-01-25 00:44:12.770812683 -0800
    110 @@ -53,8 +53,8 @@
     95diff -Naur gcc-4.4.0.orig/gcc/config/i386/gnu.h gcc-4.4.0/gcc/config/i386/gnu.h
     96--- gcc-4.4.0.orig/gcc/config/i386/gnu.h        2008-11-13 15:28:46.000000000 -0800
     97+++ gcc-4.4.0/gcc/config/i386/gnu.h     2009-04-21 10:05:30.113024445 -0700
     98@@ -21,7 +21,7 @@
     99 */
     100 
     101 #undef GLIBC_DYNAMIC_LINKER
     102-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so"
     103+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so"
     104 
     105 #undef TARGET_VERSION
     106 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)");
     107diff -Naur gcc-4.4.0.orig/gcc/config/i386/linux64.h gcc-4.4.0/gcc/config/i386/linux64.h
     108--- gcc-4.4.0.orig/gcc/config/i386/linux64.h    2009-04-09 16:23:07.000000000 -0700
     109+++ gcc-4.4.0/gcc/config/i386/linux64.h 2009-04-21 10:05:29.968667692 -0700
     110@@ -58,8 +58,8 @@
    111111    When the -shared link option is used a final link is not being
    112112    done.  */
     
    117117+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux-x86-64.so.2"
    118118 
    119  #if TARGET_64BIT_DEFAULT
    120  #define SPEC_32 "m32"
    121 diff -Naur gcc-4.3.3.orig/gcc/config/i386/linux.h gcc-4.3.3/gcc/config/i386/linux.h
    122 --- gcc-4.3.3.orig/gcc/config/i386/linux.h      2007-11-27 17:04:27.000000000 -0800
    123 +++ gcc-4.3.3/gcc/config/i386/linux.h   2009-01-25 00:44:14.194051683 -0800
     119 #undef ASM_SPEC
     120 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
     121diff -Naur gcc-4.4.0.orig/gcc/config/i386/linux.h gcc-4.4.0/gcc/config/i386/linux.h
     122--- gcc-4.4.0.orig/gcc/config/i386/linux.h      2009-02-20 07:20:38.000000000 -0800
     123+++ gcc-4.4.0/gcc/config/i386/linux.h   2009-04-21 10:05:31.665813103 -0700
    124124@@ -100,7 +100,7 @@
    125125 
     
    129129+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
    130130 
    131  #undef  SUBTARGET_EXTRA_SPECS
    132  #define SUBTARGET_EXTRA_SPECS \
    133 diff -Naur gcc-4.3.3.orig/gcc/config/ia64/linux.h gcc-4.3.3/gcc/config/ia64/linux.h
    134 --- gcc-4.3.3.orig/gcc/config/ia64/linux.h      2006-12-12 07:15:19.000000000 -0800
    135 +++ gcc-4.3.3/gcc/config/ia64/linux.h   2009-01-25 00:44:15.260453415 -0800
     131 #undef  ASM_SPEC
     132 #define ASM_SPEC \
     133diff -Naur gcc-4.4.0.orig/gcc/config/ia64/linux.h gcc-4.4.0/gcc/config/ia64/linux.h
     134--- gcc-4.4.0.orig/gcc/config/ia64/linux.h      2009-02-12 08:30:53.000000000 -0800
     135+++ gcc-4.4.0/gcc/config/ia64/linux.h   2009-04-21 10:05:32.933795782 -0700
    136136@@ -37,7 +37,7 @@
    137137 /* Define this for shared library support because it isn't in the main
     
    143143 #undef LINK_SPEC
    144144 #define LINK_SPEC "\
    145 diff -Naur gcc-4.3.3.orig/gcc/config/linux.h gcc-4.3.3/gcc/config/linux.h
    146 --- gcc-4.3.3.orig/gcc/config/linux.h   2007-08-02 03:49:31.000000000 -0700
    147 +++ gcc-4.3.3/gcc/config/linux.h        2009-01-25 00:44:18.070013688 -0800
    148 @@ -112,9 +112,9 @@
     145diff -Naur gcc-4.4.0.orig/gcc/config/kopensolaris-gnu.h gcc-4.4.0/gcc/config/kopensolaris-gnu.h
     146--- gcc-4.4.0.orig/gcc/config/kopensolaris-gnu.h        2009-01-29 10:48:41.000000000 -0800
     147+++ gcc-4.4.0/gcc/config/kopensolaris-gnu.h     2009-04-21 10:05:38.232013132 -0700
     148@@ -33,5 +33,5 @@
     149 
     150 #ifdef GLIBC_DYNAMIC_LINKER
     151 #undef GLIBC_DYNAMIC_LINKER
     152-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
     153+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
     154 #endif
     155diff -Naur gcc-4.4.0.orig/gcc/config/linux.h gcc-4.4.0/gcc/config/linux.h
     156--- gcc-4.4.0.orig/gcc/config/linux.h   2009-04-09 16:23:07.000000000 -0700
     157+++ gcc-4.4.0/gcc/config/linux.h        2009-04-21 10:05:35.793583462 -0700
     158@@ -117,9 +117,9 @@
    149159    GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
    150160    GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets
     
    159169   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
    160170 #define LINUX_DYNAMIC_LINKER32 \
    161 diff -Naur gcc-4.3.3.orig/gcc/config/m32r/linux.h gcc-4.3.3/gcc/config/m32r/linux.h
    162 --- gcc-4.3.3.orig/gcc/config/m32r/linux.h      2007-08-02 03:49:31.000000000 -0700
    163 +++ gcc-4.3.3/gcc/config/m32r/linux.h   2009-01-25 00:44:12.389370023 -0800
     171diff -Naur gcc-4.4.0.orig/gcc/config/m32r/linux.h gcc-4.4.0/gcc/config/m32r/linux.h
     172--- gcc-4.4.0.orig/gcc/config/m32r/linux.h      2007-08-02 03:49:31.000000000 -0700
     173+++ gcc-4.4.0/gcc/config/m32r/linux.h   2009-04-21 10:05:29.512193603 -0700
    164174@@ -58,7 +58,7 @@
    165175 
     
    171181 #undef LINK_SPEC
    172182 #if TARGET_LITTLE_ENDIAN
    173 diff -Naur gcc-4.3.3.orig/gcc/config/m68k/linux.h gcc-4.3.3/gcc/config/m68k/linux.h
    174 --- gcc-4.3.3.orig/gcc/config/m68k/linux.h      2007-09-24 14:07:08.000000000 -0700
    175 +++ gcc-4.3.3/gcc/config/m68k/linux.h   2009-01-25 00:44:11.044059784 -0800
     183diff -Naur gcc-4.4.0.orig/gcc/config/m68k/linux.h gcc-4.4.0/gcc/config/m68k/linux.h
     184--- gcc-4.4.0.orig/gcc/config/m68k/linux.h      2007-09-24 14:07:08.000000000 -0700
     185+++ gcc-4.4.0/gcc/config/m68k/linux.h   2009-04-21 10:05:27.799443777 -0700
    176186@@ -84,7 +84,7 @@
    177187 
     
    183193 #undef LINK_SPEC
    184194 #define LINK_SPEC "-m m68kelf %{shared} \
    185 diff -Naur gcc-4.3.3.orig/gcc/config/mips/linux64.h gcc-4.3.3/gcc/config/mips/linux64.h
    186 --- gcc-4.3.3.orig/gcc/config/mips/linux64.h    2007-08-02 03:49:31.000000000 -0700
    187 +++ gcc-4.3.3/gcc/config/mips/linux64.h 2009-01-25 00:44:18.176655119 -0800
    188 @@ -38,10 +38,10 @@
     195diff -Naur gcc-4.4.0.orig/gcc/config/mips/linux64.h gcc-4.4.0/gcc/config/mips/linux64.h
     196--- gcc-4.4.0.orig/gcc/config/mips/linux64.h    2009-02-20 07:20:38.000000000 -0800
     197+++ gcc-4.4.0/gcc/config/mips/linux64.h 2009-04-21 10:05:35.898926387 -0700
     198@@ -35,10 +35,10 @@
    189199 %{!shared: \
    190200   %{profile:-lc_p} %{!profile:-lc}}"
     
    201211   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32)
    202212 
    203 diff -Naur gcc-4.3.3.orig/gcc/config/mips/linux.h gcc-4.3.3/gcc/config/mips/linux.h
    204 --- gcc-4.3.3.orig/gcc/config/mips/linux.h      2007-10-21 02:20:49.000000000 -0700
    205 +++ gcc-4.3.3/gcc/config/mips/linux.h   2009-01-25 00:44:18.652435256 -0800
     213diff -Naur gcc-4.4.0.orig/gcc/config/mips/linux.h gcc-4.4.0/gcc/config/mips/linux.h
     214--- gcc-4.4.0.orig/gcc/config/mips/linux.h      2009-02-20 07:20:38.000000000 -0800
     215+++ gcc-4.4.0/gcc/config/mips/linux.h   2009-04-21 10:05:36.394414304 -0700
    206216@@ -64,7 +64,7 @@
    207217 #undef MIPS_DEFAULT_GVALUE
     
    213223 /* Borrowed from sparc/linux.h */
    214224 #undef LINK_SPEC
    215 diff -Naur gcc-4.3.3.orig/gcc/config/mn10300/linux.h gcc-4.3.3/gcc/config/mn10300/linux.h
    216 --- gcc-4.3.3.orig/gcc/config/mn10300/linux.h   2007-08-02 03:49:31.000000000 -0700
    217 +++ gcc-4.3.3/gcc/config/mn10300/linux.h        2009-01-25 00:44:19.054386646 -0800
     225diff -Naur gcc-4.4.0.orig/gcc/config/mn10300/linux.h gcc-4.4.0/gcc/config/mn10300/linux.h
     226--- gcc-4.4.0.orig/gcc/config/mn10300/linux.h   2007-08-02 03:49:31.000000000 -0700
     227+++ gcc-4.4.0/gcc/config/mn10300/linux.h        2009-04-21 10:05:36.792364856 -0700
    218228@@ -32,7 +32,7 @@
    219229 #undef  ASM_SPEC
     
    225235 #undef  LINK_SPEC
    226236 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \
    227 diff -Naur gcc-4.3.3.orig/gcc/config/pa/pa-linux.h gcc-4.3.3/gcc/config/pa/pa-linux.h
    228 --- gcc-4.3.3.orig/gcc/config/pa/pa-linux.h     2007-08-02 03:49:31.000000000 -0700
    229 +++ gcc-4.3.3/gcc/config/pa/pa-linux.h  2009-01-25 00:44:17.138963542 -0800
     237diff -Naur gcc-4.4.0.orig/gcc/config/pa/pa-linux.h gcc-4.4.0/gcc/config/pa/pa-linux.h
     238--- gcc-4.4.0.orig/gcc/config/pa/pa-linux.h     2007-08-02 03:49:31.000000000 -0700
     239+++ gcc-4.4.0/gcc/config/pa/pa-linux.h  2009-04-21 10:05:34.931355497 -0700
    230240@@ -44,7 +44,7 @@
    231241 /* Define this for shared library support because it isn't in the main
     
    237247 #undef LINK_SPEC
    238248 #define LINK_SPEC "\
    239 diff -Naur gcc-4.3.3.orig/gcc/config/rs6000/linux64.h gcc-4.3.3/gcc/config/rs6000/linux64.h
    240 --- gcc-4.3.3.orig/gcc/config/rs6000/linux64.h  2007-08-02 03:49:31.000000000 -0700
    241 +++ gcc-4.3.3/gcc/config/rs6000/linux64.h       2009-01-25 00:44:08.140163989 -0800
    242 @@ -339,10 +339,10 @@
     249diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/linux64.h gcc-4.4.0/gcc/config/rs6000/linux64.h
     250--- gcc-4.4.0.orig/gcc/config/rs6000/linux64.h  2009-04-09 16:23:07.000000000 -0700
     251+++ gcc-4.4.0/gcc/config/rs6000/linux64.h       2009-04-21 10:05:24.642748987 -0700
     252@@ -342,10 +342,10 @@
    243253 #undef LINK_OS_DEFAULT_SPEC
    244254 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
     
    255265 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    256266 #else
    257 diff -Naur gcc-4.3.3.orig/gcc/config/rs6000/sysv4.h gcc-4.3.3/gcc/config/rs6000/sysv4.h
    258 --- gcc-4.3.3.orig/gcc/config/rs6000/sysv4.h    2007-08-08 12:33:24.000000000 -0700
    259 +++ gcc-4.3.3/gcc/config/rs6000/sysv4.h 2009-01-25 00:44:08.414967174 -0800
    260 @@ -891,8 +891,8 @@
     267diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/sysv4.h gcc-4.4.0/gcc/config/rs6000/sysv4.h
     268--- gcc-4.4.0.orig/gcc/config/rs6000/sysv4.h    2009-04-09 16:23:07.000000000 -0700
     269+++ gcc-4.4.0/gcc/config/rs6000/sysv4.h 2009-04-21 10:05:25.034773572 -0700
     270@@ -901,8 +901,8 @@
    261271 
    262272 #define LINK_START_LINUX_SPEC ""
     
    269279 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    270280 #else
    271 @@ -934,7 +934,7 @@
     281@@ -944,7 +944,7 @@
    272282 
    273283 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \
     
    278288 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__   \
    279289 %{!undef:                                                      \
    280 diff -Naur gcc-4.3.3.orig/gcc/config/s390/linux.h gcc-4.3.3/gcc/config/s390/linux.h
    281 --- gcc-4.3.3.orig/gcc/config/s390/linux.h      2007-08-02 03:49:31.000000000 -0700
    282 +++ gcc-4.3.3/gcc/config/s390/linux.h   2009-01-25 00:44:11.774138007 -0800
     290diff -Naur gcc-4.4.0.orig/gcc/config/s390/linux.h gcc-4.4.0/gcc/config/s390/linux.h
     291--- gcc-4.4.0.orig/gcc/config/s390/linux.h      2007-08-02 03:49:31.000000000 -0700
     292+++ gcc-4.4.0/gcc/config/s390/linux.h   2009-04-21 10:05:28.673376171 -0700
    283293@@ -72,8 +72,8 @@
    284294 #define MULTILIB_DEFAULTS { "m31" }
     
    292302 #undef  LINK_SPEC
    293303 #define LINK_SPEC \
    294 diff -Naur gcc-4.3.3.orig/gcc/config/sh/linux.h gcc-4.3.3/gcc/config/sh/linux.h
    295 --- gcc-4.3.3.orig/gcc/config/sh/linux.h        2007-08-02 03:49:31.000000000 -0700
    296 +++ gcc-4.3.3/gcc/config/sh/linux.h     2009-01-25 00:44:16.458105601 -0800
     304diff -Naur gcc-4.4.0.orig/gcc/config/sh/linux.h gcc-4.4.0/gcc/config/sh/linux.h
     305--- gcc-4.4.0.orig/gcc/config/sh/linux.h        2007-08-02 03:49:31.000000000 -0700
     306+++ gcc-4.4.0/gcc/config/sh/linux.h     2009-04-21 10:05:34.264203940 -0700
    297307@@ -47,7 +47,7 @@
    298308 
     
    304314 #undef SUBTARGET_LINK_EMUL_SUFFIX
    305315 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
    306 diff -Naur gcc-4.3.3.orig/gcc/config/sparc/linux64.h gcc-4.3.3/gcc/config/sparc/linux64.h
    307 --- gcc-4.3.3.orig/gcc/config/sparc/linux64.h   2007-10-18 21:29:38.000000000 -0700
    308 +++ gcc-4.3.3/gcc/config/sparc/linux64.h        2009-01-25 00:44:20.108482748 -0800
    309 @@ -144,10 +144,10 @@
     316diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux64.h gcc-4.4.0/gcc/config/sparc/linux64.h
     317--- gcc-4.4.0.orig/gcc/config/sparc/linux64.h   2009-02-20 07:20:38.000000000 -0800
     318+++ gcc-4.4.0/gcc/config/sparc/linux64.h        2009-04-21 10:05:37.666298087 -0700
     319@@ -109,8 +109,8 @@
    310320 
    311321 /* If ELF is the default format, we should not use /lib/elf.  */
     
    313323-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
    314324-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2"
    315 -#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
    316 -#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
    317325+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-linux.so.2"
    318326+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux.so.2"
    319 +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
    320 +#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0"
    321  #if UCLIBC_DEFAULT
    322  #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    323  #else
    324 @@ -167,7 +167,7 @@
     327 
     328 #ifdef SPARC_BI_ARCH
     329 
     330@@ -121,7 +121,7 @@
    325331   { "link_arch_default", LINK_ARCH_DEFAULT_SPEC },       \
    326332   { "link_arch",        LINK_ARCH_SPEC },
    327333 
    328 -#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
    329 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,/tools/lib %{shared:-shared} \
     334-#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \
     335+#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/tools/lib %{shared:-shared} \
    330336   %{!shared: \
    331337     %{!ibcs: \
    332338       %{!static: \
    333 @@ -176,7 +176,7 @@
     339@@ -130,7 +130,7 @@
    334340         %{static:-static}}} \
    335341 "
    336342 
    337 -#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,/usr/lib64 %{shared:-shared} \
    338 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,/tools/lib64 %{shared:-shared} \
     343-#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
     344+#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \
    339345   %{!shared: \
    340346     %{!ibcs: \
    341347       %{!static: \
    342 @@ -257,7 +257,7 @@
     348@@ -211,7 +211,7 @@
    343349 #else /* !SPARC_BI_ARCH */
    344350 
    345351 #undef LINK_SPEC
    346 -#define LINK_SPEC "-m elf64_sparc -Y P,/usr/lib64 %{shared:-shared} \
    347 +#define LINK_SPEC "-m elf64_sparc -Y P,/tools/lib64 %{shared:-shared} \
     352-#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
     353+#define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \
    348354   %{!shared: \
    349355     %{!ibcs: \
    350356       %{!static: \
    351 diff -Naur gcc-4.3.3.orig/gcc/config/sparc/linux.h gcc-4.3.3/gcc/config/sparc/linux.h
    352 --- gcc-4.3.3.orig/gcc/config/sparc/linux.h     2007-08-02 03:49:31.000000000 -0700
    353 +++ gcc-4.3.3/gcc/config/sparc/linux.h  2009-01-25 00:44:20.453014666 -0800
    354 @@ -120,8 +120,8 @@
     357diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux.h gcc-4.4.0/gcc/config/sparc/linux.h
     358--- gcc-4.4.0.orig/gcc/config/sparc/linux.h     2009-02-20 07:20:38.000000000 -0800
     359+++ gcc-4.4.0/gcc/config/sparc/linux.h  2009-04-21 10:05:37.978417377 -0700
     360@@ -83,10 +83,10 @@
    355361 
    356362 /* If ELF is the default format, we should not use /lib/elf.  */
    357363 
    358364-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
    359 -#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
    360 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
    361 +#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
    362  #if UCLIBC_DEFAULT
    363  #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    364  #else
    365 @@ -132,7 +132,7 @@
    366  
     365+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
    367366 
    368367 #undef  LINK_SPEC
     
    372371   %{!shared: \
    373372     %{!ibcs: \
    374 diff -Naur gcc-4.3.3.orig/gcc/config/xtensa/linux.h gcc-4.3.3/gcc/config/xtensa/linux.h
    375 --- gcc-4.3.3.orig/gcc/config/xtensa/linux.h    2008-01-17 17:37:53.000000000 -0800
    376 +++ gcc-4.3.3/gcc/config/xtensa/linux.h 2009-01-25 00:44:10.043282860 -0800
     373diff -Naur gcc-4.4.0.orig/gcc/config/xtensa/linux.h gcc-4.4.0/gcc/config/xtensa/linux.h
     374--- gcc-4.4.0.orig/gcc/config/xtensa/linux.h    2008-01-17 17:37:53.000000000 -0800
     375+++ gcc-4.4.0/gcc/config/xtensa/linux.h 2009-04-21 10:05:26.652405923 -0700
    377376@@ -43,7 +43,7 @@
    378377   %{mlongcalls:--longcalls} \
Note: See TracChangeset for help on using the changeset viewer.