This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Proposed 3.3 patch: make -pthread work on sh4-*-linux-*, fixestestcase thread/pthread1.cc
- From: kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dkegel at ixiacom dot com
- Date: Tue, 22 Jul 2003 08:07:09 +0900
- Subject: Re: Proposed 3.3 patch: make -pthread work on sh4-*-linux-*, fixestestcase thread/pthread1.cc
- References: <3F1C2C50.1020603@ixiacom.com>
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