This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Proposed 3.3 patch: make -pthread work on sh4-*-linux-*, fixestestcase thread/pthread1.cc


Hi Dan,

Dan Kegel <dkegel@ixiacom.com> wrote:
> --- gcc-ss-3_3-20030714/gcc/config/sh/linux.h.old	6 Jun 2003 02:30:59 -0000	1.9.20.1
> +++ gcc-ss-3_3-20030714/gcc/config/sh/linux.h	20 Jul 2003 23:36:50 -0000
> @@ -59,7 +59,7 @@
>   #undef LIB_SPEC
>   #define LIB_SPEC \
>     "%{shared: -lc} \
> -   %{!shared: %{pthread:-lthread} \
> +   %{!shared: %{mieee:-lieee} %{pthread:-lpthread} \
>        %{profile:-lc_p} %{!profile: -lc}}"

Thanks for catching this. Changing thread to pthread is good. We
should use mieee-fp instead of mieee for the compatibility with
the other linux ports, shouldn't we? 
The patch should be against 3.4 for the time being, since this is
not critical and 3.3 branch is closed now for such changes.
Could you please send a patch for 3.4 with a ChangeLog entry for it?

Regards,
	kaz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]