This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add -lssp_nonshared to LINK_SSP_SPEC
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Richard Guenther <richard dot guenther at gmail dot com>, Gerald Pfeifer <gerald at pfeifer dot com>, Tijl Coosemans <tijl at coosemans dot org>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 7 Feb 2012 13:13:35 +0000 (UTC)
- Subject: Re: Add -lssp_nonshared to LINK_SSP_SPEC
- References: <201201101514.40392.tijl@coosemans.org> <201201102050.24745.tijl@freebsd.org> <CAFiYyc0Qr_rLVO7kWBgMbG-vWbQTyZvBW=X7RU1_373xiPUqxQ@mail.gmail.com> <201201210001.37213.tijl@coosemans.org> <alpine.LNX.2.00.1201230019290.23616@yvahk-qjwk.fvgr> <CAFiYyc1iSeXCkbj_GxP8w3_6mwHVJ36Oco4qNFGugRCvB=nGog@mail.gmail.com> <20120207085443.GU18768@tyan-ft48-01.lab.bos.redhat.com>
On Tue, 7 Feb 2012, Jakub Jelinek wrote:
> So, if this mess is really needed (does anybody actually use -mcall-freebsd
> on non-freebsd targets?), IMHO freebsd-spec.h must avoid defining non-FBSD_
I've argued for a long time that the -mcall-* support should be removed
and targets using rs6000/sysv4.h should move to the standard approach of
each configuration defining and using its own specs where the specs differ
between targets (in particular, making powerpc*-linux* use linux.h and
gnu-user.h like most other targets using the Linux kernel do). There's a
point about this in the development conventions document at
<https://docs.google.com/document/pub?id=10LO8y0YhjlKHya_PKM3jEGrJu0rllv-Nc9qP5LXqH_I>.
I don't think -mcall-* will form any useful part of proper multi-target
support.
--
Joseph S. Myers
joseph@codesourcery.com