Jack,

On Wed, Feb 6, 2013 at 10:27 PM, Jack Howarth <howa...@bromo.med.uc.edu> wrote:
>    I think you are making this much more complex than it really is.
> The ENDFILE_SPEC on ppc is obtained from gcc/config/darwin.h and is
> only...
>
> #define TM_DESTRUCTOR "%{fgnu-tm: -lcrttme.o}"
>
> whereas for intel darwin, it is defined in gcc/config/i386/darwin.h as
>
> #undef ENDFILE_SPEC
> #define ENDFILE_SPEC \
>   "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
>    %{mpc32:crtprec32.o%s} \
>    %{mpc64:crtprec64.o%s} \
>    %{mpc80:crtprec80.o%s} \
>    %{fgnu-tm: -lcrttme.o}"
>
> Iain only added TM_DESTRUCTOR to remove the explicit instance of
> %{fgnu-tm: -lcrttme.o} in the definition of ENDFILE_SPEC in
> gcc/config/i386/darwin.h (which meant he needed a new definition, 
> TM_DESTRUCTOR).
> That change is non-essential to the fix and completely tangential to the
> problem. The actual fix is only the change...

Ok thanks. I am fine with this then. It was just I did not understand
the purpose of this from your first email on gcc-patches.
--
Patrick

Reply via email to