summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/dl-sysdep.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-10-23 01:27:01 +0000
committerRoland McGrath <roland@gnu.org>2005-10-23 01:27:01 +0000
commit067f926e19b0f048f04727f57d7036ec4a64c050 (patch)
tree3ef68c5c73b308198f994dca043dda10c45dc1ff /sysdeps/mach/hurd/dl-sysdep.h
parentbf8d53331945a83c95dd046c4811b706a5868be5 (diff)
Updated to fedora-glibc-2_3-20051023T0123cvs/fedora-glibc-2_3_5-0_fc3_8
Diffstat (limited to 'sysdeps/mach/hurd/dl-sysdep.h')
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.h b/sysdeps/mach/hurd/dl-sysdep.h
index 2dc9b0a910..4b21b779ef 100644
--- a/sysdeps/mach/hurd/dl-sysdep.h
+++ b/sysdeps/mach/hurd/dl-sysdep.h
@@ -1,5 +1,5 @@
/* System-specific settings for dynamic linker code. Hurd version.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -23,3 +23,9 @@
(open, mmap, etc). */
#define RTLD_PRIVATE_ERRNO 0
+
+#ifdef SHARED
+/* _dl_argv cannot be attribute_relro, because the stack-switching
+ libc initializer for using cthreads might write into it. */
+# define DL_ARGV_NOT_RELRO 1
+#endif