Silly me... Why didn't someone hit me in the head? Obviously, we
should define DL_ARGV_NOT_RELRO since we are frobbing _dl_argv.
2005-09-22 Alfred M. Szmidt <[EMAIL PROTECTED]>
* sysdeps/mach/hurd/i386/dl-machine.h (DL_ARGV_NOT_RELRO): Define
macro. Reported by Thomas Schwinge <[EMAIL PROTECTED]>.
Index: dl-machine.h
===================================================================
RCS file: /cvsroot/libc/libc/sysdeps/mach/hurd/i386/dl-machine.h,v
retrieving revision 1.2
diff -u -p -r1.2 sysdeps/mach/hurd/i386/dl-machine.h
--- sysdeps/mach/hurd/i386/dl-machine.h 3 Apr 2000 18:19:55 -0000 1.2
+++ sysdeps/mach/hurd/i386/dl-machine.h 22 Sep 2005 11:31:22 -0000
@@ -3,5 +3,8 @@
into the asm in sysdeps/i386/dl-machine.h that contains
the initializer code. */
+/* _dl_argv can't be attribute_relro, since it gets frobed in init(). */
+#define DL_ARGV_NOT_RELRO 1
+
#define RTLD_START_SPECIAL_INIT "call [EMAIL PROTECTED]; movl (%esp), %edx"
#include_next "dl-machine.h"
_______________________________________________
Bug-hurd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-hurd