components/gcc3/patches/i386.sol2-10.h.patch
changeset 7310 88d40c6177a1
parent 991 ed62e375e805
equal deleted inserted replaced
7309:2655ef11c386 7310:88d40c6177a1
     1 *** gcc-3.4.3/gcc/config/i386/sol2-10.h.orig	Wed Nov 17 09:59:39 2004
     1 #
     2 --- gcc-3.4.3/gcc/config/i386/sol2-10.h	Mon Jan 28 13:39:30 2008
     2 # This patch was developed in house and encompasses two changes to GCC 3.
     3 ***************
     3 #    1. It causes gcc to always specify the desired bittedness when calling
     4 *** 69,80 ****
     4 #       the assembler to generate an object file.  That particular change
     5      %{YP,*} \
     5 #       has already been addressed by the upstream in future versions of GCC.
     6      %{R*} \
     6 #    2. It adjust the linker search path to find GCC 3 bits.  This current
     7      %{compat-bsd: \
     7 #       versions of GCC already handle this how we want them to.
     8 !      %{!YP,*:%{p|pg:-Y P,/usr/ucblib/64:/usr/lib/libp/64:/lib/64:/usr/lib/64} \
     8 #
     9 !              %{!p:%{!pg:-Y P,/usr/ucblib/64:/lib:/usr/lib/64}}} \
     9 # There is no need for either change to be submitted upstream.
    10 !              -R /usr/ucblib/64} \
    10 #
    11      %{!compat-bsd: \
    11 --- gcc-3.4.3/gcc/config/i386/sol2-10.h.orig	2004-11-17 09:59:39.000000000 -0800
    12 !      %{!YP,*:%{p|pg:-Y P,/usr/lib/libp/64:/lib/64:/usr/lib/64} \
    12 +++ gcc-3.4.3/gcc/config/i386/sol2-10.h	2016-10-04 11:58:11.778683101 -0700
    13 !              %{!p:%{!pg:-Y P,/lib/64:/usr/lib/64}}}}"
    13 @@ -24,7 +24,7 @@
    14   
    14  
    15   #undef LINK_ARCH64_SPEC
    15  #undef ASM_SPEC
    16   #define LINK_ARCH64_SPEC LINK_ARCH64_SPEC_BASE
    16  #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} " \
    17 --- 69,80 ----
    17 -		 "%{Wa,*:%*} %{m32:--32} %{m64:--64} -s %(asm_cpu)"
    18      %{YP,*} \
    18 +		 "%{Wa,*:%*} %{!m64:--32} %{m64:--64} -s %(asm_cpu)"
    19      %{R*} \
    19  
    20      %{compat-bsd: \
    20  #undef NO_PROFILE_COUNTERS
    21 !      %{!YP,*:%{p|pg:-Y P,/usr/gcc/3.4/lib/64:/usr/lib/libp/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64:/usr/lib/libp/64} \
    21  
    22 !              %{!p:%{!pg:-Y P,/usr/gcc/3.4/lib/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64}}} \
    22 @@ -69,12 +69,12 @@
    23 !              } \
    23     %{YP,*} \
    24      %{!compat-bsd: \
    24     %{R*} \
    25 !      %{!YP,*:%{p|pg:-Y P,/usr/gcc/3.4/lib/64:/usr/lib/libp/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64:/usr/lib/libp/64} \
    25     %{compat-bsd: \
    26 !              %{!p:%{!pg:-Y P,/usr/gcc/3.4/lib/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64}}}}"
    26 -     %{!YP,*:%{p|pg:-Y P,/usr/ucblib/64:/usr/lib/libp/64:/lib/64:/usr/lib/64} \
    27   
    27 -             %{!p:%{!pg:-Y P,/usr/ucblib/64:/lib:/usr/lib/64}}} \
    28   #undef LINK_ARCH64_SPEC
    28 -             -R /usr/ucblib/64} \
    29   #define LINK_ARCH64_SPEC LINK_ARCH64_SPEC_BASE
    29 +     %{!YP,*:%{p|pg:-Y P,/usr/gcc/3.4/lib/64:/usr/lib/libp/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64:/usr/lib/libp/64} \
       
    30 +             %{!p:%{!pg:-Y P,/usr/gcc/3.4/lib/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64}}} \
       
    31 +             } \
       
    32     %{!compat-bsd: \
       
    33 -     %{!YP,*:%{p|pg:-Y P,/usr/lib/libp/64:/lib/64:/usr/lib/64} \
       
    34 -             %{!p:%{!pg:-Y P,/lib/64:/usr/lib/64}}}}"
       
    35 +     %{!YP,*:%{p|pg:-Y P,/usr/gcc/3.4/lib/64:/usr/lib/libp/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64:/usr/lib/libp/64} \
       
    36 +             %{!p:%{!pg:-Y P,/usr/gcc/3.4/lib/64:/lib/64:/usr/lib/64 -R /usr/gcc/3.4/lib/64}}}}"
       
    37  
       
    38  #undef LINK_ARCH64_SPEC
       
    39  #define LINK_ARCH64_SPEC LINK_ARCH64_SPEC_BASE