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: gcc corrections for better pie support


"Peter S. Mazinger" <ps.m@gmx.net> writes:

> On Tue, 9 Nov 2004, Zack Weinberg wrote:
>
>> The intended behavior is for -profile to link against the profiled
>> version of the C library (usually -lc_p) and -pg not; the two options
>> are otherwise identical.  -profile is a completely system-generic
>> feature that should be universally supported.  It would be nice if you
>> made that change (IMO it qualifies as a bug fix), but please do so
>> separately from your other changes.
>
> linux behaves (on archs where implemented) like you describe, but
> freebsd-spec.h has no profile, and uses %{pg:-lc_p} ;-(

Yeah.  I thought there would be places like that.  This is why you
should submit a change to make -profile universal as a separate
change, clearly labeled "changes behavior on some systems", and get
buy-in from everyone before proceeding.  This might need to wait for
4.1.

zw


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