From 79dc5f3d5fe5a66f5fa53af9afc30d27d1af0bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 24 Aug 2005 21:28:40 +0000 Subject: [PATCH] Don't export non-standard symbols generated GCCs stack protection feature (__guard, __stack_smash_handler). --- hw/xfree86/loader/xf86sym.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/hw/xfree86/loader/xf86sym.c b/hw/xfree86/loader/xf86sym.c index a2d0af919..c68077834 100644 --- a/hw/xfree86/loader/xf86sym.c +++ b/hw/xfree86/loader/xf86sym.c @@ -239,12 +239,6 @@ extern unsigned long ldl_brx(volatile unsigned char *, int); extern unsigned short ldw_brx(volatile unsigned char *, int); #endif -#ifdef __SSP__ -/* Propolice! */ -extern long __guard[]; -extern void __stack_smash_handler(char [], int); -#endif - /* XFree86 things */ LOOKUP xfree86LookupTab[] = { @@ -1124,12 +1118,6 @@ LOOKUP xfree86LookupTab[] = { #endif #endif -#ifdef __SSP__ - /* propolice */ - SYMFUNC(__stack_smash_handler) - SYMVAR(__guard) -#endif - /* Some variables. */ SYMVAR(xf86stdin)