[PATCH] config/freebsd.h
David O'Brien
obrien@freebsd.org
Tue Dec 19 16:30:00 GMT 2000
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. */
More information about the Gcc-patches
mailing list