diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-01-14 01:16:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-01-14 01:16:07 +0000 |
commit | 81144a9c4e2ef74f2e935192db562684793a4da9 (patch) | |
tree | 8767a852aeec0630f8761191f2df3b6975ff1f8c /sysdeps/generic/dl-sysdep.c | |
parent | ea4f25a7f9adb67c2a19c48b453ee52fd65a57ed (diff) | |
download | glibc-81144a9c4e2ef74f2e935192db562684793a4da9.tar.gz glibc-81144a9c4e2ef74f2e935192db562684793a4da9.tar.xz glibc-81144a9c4e2ef74f2e935192db562684793a4da9.zip |
Update.
* sysdeps/generic/dl-sysdep.c: Move __libc_enable_secure into .data.rel.ro.
Diffstat (limited to 'sysdeps/generic/dl-sysdep.c')
-rw-r--r-- | sysdeps/generic/dl-sysdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c index 5ec063323f..d637687a72 100644 --- a/sysdeps/generic/dl-sysdep.c +++ b/sysdeps/generic/dl-sysdep.c @@ -48,7 +48,7 @@ extern void __libc_check_standard_fds (void); #ifdef NEED_DL_BASE_ADDR ElfW(Addr) _dl_base_addr; #endif -int __libc_enable_secure = 0; +int __libc_enable_secure __attribute__ ((section (".data.rel.ro"))) = 0; INTVARDEF(__libc_enable_secure) int __libc_multiple_libcs = 0; /* Defining this here avoids the inclusion of init-first. */ |