[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The recent glibc breakage (dynamically linking with libthreads)
From: |
Alfred M. Szmidt |
Subject: |
Re: The recent glibc breakage (dynamically linking with libthreads) |
Date: |
Thu, 22 Sep 2005 13:33:49 +0200 |
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 <ams@gnu.org>
* sysdeps/mach/hurd/i386/dl-machine.h (DL_ARGV_NOT_RELRO): Define
macro. Reported by Thomas Schwinge <tschwinge@gnu.org>.
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 _dl_init_first@PLT; movl (%esp), %edx"
#include_next "dl-machine.h"
- The recent glibc breakage (dynamically linking with libthreads), Thomas Schwinge, 2005/09/21
- Re: The recent glibc breakage (dynamically linking with libthreads), Alfred M. Szmidt, 2005/09/22
- Re: The recent glibc breakage (dynamically linking with libthreads), Thomas Schwinge, 2005/09/22
- Re: The recent glibc breakage (dynamically linking with libthreads), Alfred M. Szmidt, 2005/09/22
- Re: The recent glibc breakage (dynamically linking with libthreads), Manuel Menal, 2005/09/22
- Re: The recent glibc breakage (dynamically linking with libthreads), Alfred M. Szmidt, 2005/09/22
- Re: The recent glibc breakage (dynamically linking with libthreads),
Alfred M. Szmidt <=
- Re: The recent glibc breakage (dynamically linking with libthreads), Thomas Schwinge, 2005/09/22
- Re: The recent glibc breakage (dynamically linking with libthreads), Alfred M. Szmidt, 2005/09/22
- Re: The recent glibc breakage (dynamically linking with libthreads), Alfred M. Szmidt, 2005/09/22
- Re: The recent glibc breakage (dynamically linking with libthreads), Thomas Schwinge, 2005/09/22
- Re: The recent glibc breakage (dynamically linking with libthreads), Alfred M. Szmidt, 2005/09/22