From 11986c680d9ff586617955fc6b05c27f027baeaf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 20 Feb 2004 06:07:55 +0000 Subject: Update. 2004-02-19 Steven Munroe * sysdeps/generic/libc-start.c [LIBC_START_DISABLE_INLINE] (STATIC): Define as static. * sysdeps/powerpc/elf/libc-start.c: Define LIBC_START_DISABLE_INLINE because gcc does not allow inline of functions that call setjmp. 2004-02-19 Steven Munroe * sysdeps/powerpc/powerpc64/Makefile: Use -finline-limit. 2004-02-19 Jakub Jelinek * elf/rtld.c (_dl_argv): If DL_ARGV_NOT_RELRO defined, don't use attribute_relro for _dl_argv. * sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Define. * sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Define. * sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Define. * sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Define. vfork instead of fork. --- elf/rtld.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'elf') diff --git a/elf/rtld.c b/elf/rtld.c index f988dd4..0ce1fda 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -68,7 +68,11 @@ enum mode { normal, list, verify, trace }; static void process_envvars (enum mode *modep); int _dl_argc attribute_relro attribute_hidden; +#ifdef DL_ARGV_NOT_RELRO +char **_dl_argv = NULL; +#else char **_dl_argv attribute_relro = NULL; +#endif INTDEF(_dl_argv) /* Nonzero if we were run directly. */ -- cgit v1.1