Update.
* sysdeps/generic/dl-sysdep.c: Move __libc_enable_secure into .data.rel.ro.
This commit is contained in:
parent
ea4f25a7f9
commit
81144a9c4e
|
@ -1,5 +1,8 @@
|
||||||
2004-01-13 Ulrich Drepper <drepper@redhat.com>
|
2004-01-13 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/generic/dl-sysdep.c: Move __libc_enable_secure into
|
||||||
|
.data.rel.ro.
|
||||||
|
|
||||||
* sysdeps/x86_64/dl-machine.h: Include <tls.h>.
|
* sysdeps/x86_64/dl-machine.h: Include <tls.h>.
|
||||||
|
|
||||||
* elf/rtld.c (_dl_start_final): Initialze __libc_stack_end here.
|
* elf/rtld.c (_dl_start_final): Initialze __libc_stack_end here.
|
||||||
|
|
|
@ -48,7 +48,7 @@ extern void __libc_check_standard_fds (void);
|
||||||
#ifdef NEED_DL_BASE_ADDR
|
#ifdef NEED_DL_BASE_ADDR
|
||||||
ElfW(Addr) _dl_base_addr;
|
ElfW(Addr) _dl_base_addr;
|
||||||
#endif
|
#endif
|
||||||
int __libc_enable_secure = 0;
|
int __libc_enable_secure __attribute__ ((section (".data.rel.ro"))) = 0;
|
||||||
INTVARDEF(__libc_enable_secure)
|
INTVARDEF(__libc_enable_secure)
|
||||||
int __libc_multiple_libcs = 0; /* Defining this here avoids the inclusion
|
int __libc_multiple_libcs = 0; /* Defining this here avoids the inclusion
|
||||||
of init-first. */
|
of init-first. */
|
||||||
|
|
Loading…
Reference in a new issue