This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc-2.4 __stack_chk_guard/__pointer_chk_guard
On Tue, Apr 04, 2006 at 09:56:56AM +1100, Hamish Greig wrote:
> Thanks, I'll look into all those things.
> Something is definitely not working on my system as libc.a only has
> stack_chk_fail(_local), but gcc defines my glibc as having ssp.
>
> nm /usr/lib/libc.a | grep stack_chk
>
> stack_chk_fail.o:
> 00000000 T __stack_chk_fail
> stack_chk_fail_local.o:
> U __stack_chk_fail
> 00000000 T __stack_chk_fail_local
That's expected, as on several Linux arches SSP uses guard in thread
local area rather than some variable.
Jakub