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: [PATCH] Define TARGET_LIBC_PROVIDES_SSP for targets using glibc, use TLS access sequences on i386/x86_64/ppc/ppc64


On Sun, Jun 26, 2005 at 05:24:04PM -0700, Ulrich Drepper wrote:
> I think it is reasonable to assume that if you want to use the new code
> you get the new glibc.

Only after it's released, and presumably only after it's available
in some distribution.  Glibc is less than friendly to install by
the average user; less so than gcc even.

> Having the protector stuff being handled differently depending on the
> flag means there are possible ABI problems ahead.

It wouldn't if you exported the __stack_guard_value variable all of
the time, rather than 100% reliance on the tls magic.  In that case
glibc becomes forward compatible with libgcc's implementation.


r~


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