Teach the loader about the extra symbols needed for Propolice-protected

modules to work under elfloader. From Travis Tilley (Gentoo).
This commit is contained in:
Adam Jackson 2004-08-11 23:10:02 +00:00
parent fd439afdfe
commit eb607030e3

View File

@ -235,6 +235,10 @@ extern unsigned long ldl_brx(volatile unsigned char *, int);
extern unsigned short ldw_brx(volatile unsigned char *, int);
#endif
/* Propolice! */
extern long __guard[];
extern void __stack_smash_handler(char [], int);
/* XFree86 things */
LOOKUP xfree86LookupTab[] = {
@ -1097,6 +1101,10 @@ LOOKUP xfree86LookupTab[] = {
#endif
#endif
/* propolice */
SYMFUNC(__stack_smash_handler)
SYMVAR(__guard)
/* Some variables. */
SYMVAR(xf86stdin)