diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2010-09-07 12:06:41 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2010-09-07 12:06:41 +0000 |
| commit | 4fb6f53fab7154a0e11e378347a6a2d446d72961 (patch) | |
| tree | da590d580d0d2f84e11f8e784b3642270c8888f4 /lib/libc/sys/stack_protector.c | |
| parent | f2ade43c8755060c8ab097042436db5ce4b68f79 (diff) | |
Notes
Diffstat (limited to 'lib/libc/sys/stack_protector.c')
| -rw-r--r-- | lib/libc/sys/stack_protector.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/sys/stack_protector.c b/lib/libc/sys/stack_protector.c index 5fa7bb75d4c8..03241b218528 100644 --- a/lib/libc/sys/stack_protector.c +++ b/lib/libc/sys/stack_protector.c @@ -107,8 +107,6 @@ __chk_fail(void) __fail("buffer overflow detected; terminated"); } -#ifdef PIC -__sym_compat(__stack_chk_fail_local, __stack_chk_fail, FBSD_1.0); -#else +#ifndef PIC __weak_reference(__stack_chk_fail, __stack_chk_fail_local); #endif |
