This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] config/freebsd.h
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: [PATCH] config/freebsd.h
- From: "David O'Brien" <obrien at freebsd dot org>
- Date: Tue, 19 Dec 2000 16:30:48 -0800
- Organization: The NUXI BSD group
- References: <20001214115149.A8760@dragon.nuxi.com>
- Reply-To: obrien at freebsd dot org
I'm worried maybe it was thought this patch (ie, in this email) was for
the 2.95 branch. This particular patch is for mainline sources.
Permission to apply there?
-- David
On Thu, Dec 14, 2000 at 11:51:49AM -0800, David O'Brien wrote:
> The OS support for -kthread has gone away, and it was a bad idea from the
> start. Permission to apply this patch (w/a ChangeLog entry of course)
>
>
> Index: freebsd.h
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/config/freebsd.h,v
> retrieving revision 1.3
> diff -u -r1.3 freebsd.h
> --- freebsd.h 2000/09/25 11:45:51 1.3
> +++ freebsd.h 2000/12/14 19:49:55
> @@ -60,15 +60,16 @@
> libc, depending on whether we're doing profiling or need threads support.
> (simular to the default, except no -lg, and no -p). */
>
> -#undef LIB_SPEC
> -#define LIB_SPEC \
> - "%{!shared: \
> - %{!pg:%{!pthread:%{!kthread:-lc} \
> - %{kthread:-lpthread -lc}} \
> - %{pthread:-lc_r}} \
> - %{pg:%{!pthread:%{!kthread:-lc_p} \
> - %{kthread:-lpthread_p -lc_p}} \
> - %{pthread:-lc_r_p}}}"
> +#undef LIB_SPEC
> +#define LIB_SPEC " \
> + %{!shared: \
> + %{!pg: \
> + %{!pthread:-lc} \
> + %{pthread:-lc_r}} \
> + %{pg: \
> + %{!pthread:-lc_p} \
> + %{pthread:-lc_r_p}} \
> + }"
>
>
> /* Code generation parameters. */