diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-05-10 14:51:22 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-05-10 15:57:24 -0700 |
commit | 5d5722e8ac22253bdc819da2d676d9900da0c533 (patch) | |
tree | 5da1821658c8038709f264e4d6b7e096e80bb7eb /sysdeps/generic | |
parent | be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e (diff) | |
download | glibc-5d5722e8ac22253bdc819da2d676d9900da0c533.zip glibc-5d5722e8ac22253bdc819da2d676d9900da0c533.tar.gz glibc-5d5722e8ac22253bdc819da2d676d9900da0c533.tar.bz2 |
Hurd: Fix value of __libc_stack_end
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 602b429..e071015 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -717,7 +717,11 @@ rtld_hidden_proto (_dl_make_stack_executable) might use the variable which results in copy relocations on some platforms. But this does not matter, ld.so can always use the local copy. */ -extern void *__libc_stack_end attribute_relro; +extern void *__libc_stack_end +#ifndef LIBC_STACK_END_NOT_RELRO + attribute_relro +#endif + ; rtld_hidden_proto (__libc_stack_end) /* Parameters passed to the dynamic linker. */ |