]> git.ipfire.org Git - thirdparty/glibc.git/commit - elf/Makefile
* Versions.def (ld): Add GLIBC_2.4.
authorUlrich Drepper <drepper@redhat.com>
Sun, 26 Jun 2005 18:14:26 +0000 (18:14 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 26 Jun 2005 18:14:26 +0000 (18:14 +0000)
commit35f1e82763326f196fd068e92343643d8ed54ee3
tree74c6d155ca2e7c32503231b8ce186a0752bc924b
parent2f37117b013f77df863b198c3408555c49596174
* Versions.def (ld): Add GLIBC_2.4.

* configure.in: Add --enable-stackguard-randomization option.
(ENABLE_STACKGUARD_RANDOMIZE): New define.
* config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add.
* sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h.
(_dl_setup_stack_chk_guard): New inline function.
* sysdeps/generic/dl-osinfo.h: Include stdint.h.
(_dl_setup_stack_chk_guard): New inline function.
* elf/rtld.c (__stack_chk_guard): New variable.
(dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE.
Set __stack_chk_guard to _dl_setup_stack_chk_guard (),
use THREAD_SET_STACK_GUARD if defined.
* elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4.
* sysdeps/generic/libc-start.c (__stack_chk_guard): New variable.
(__libc_start_main): Set __stack_chk_guard to
_dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined.
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all
traces of TLS_INIT_TP_EXPENSIVE.
* debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4.
* debug/Makefile (routines): Add stack_chk_fail.
(static-only-routines): Add stack_chk_fail_local.
* debug/stack_chk_fail_local.c: New file.
* debug/stack_chk_fail.c: New file.
* elf/Makefile: Add rules to build and run tst-stackguard1{,-static}
tests.
* elf/tst-stackguard1.c: New file.
* elf/tst-stackguard1-static.c: New file.
* elf/stackguard-macros.h: New file.
28 files changed:
ChangeLog
Versions.def
config.h.in
configure
configure.in
debug/Makefile
debug/Versions
debug/stack_chk_fail.c [new file with mode: 0644]
debug/stack_chk_fail_local.c [new file with mode: 0644]
elf/Makefile
elf/Versions
elf/rtld.c
elf/stackguard-macros.h [new file with mode: 0644]
elf/tst-stackguard1-static.c [new file with mode: 0644]
elf/tst-stackguard1.c [new file with mode: 0644]
nptl/Makefile
nptl/pthread_create.c
nptl/sysdeps/i386/tls.h
nptl/sysdeps/powerpc/tls.h
nptl/sysdeps/s390/tls.h
nptl/sysdeps/sparc/tls.h
nptl/sysdeps/x86_64/tls.h
nptl/tst-stackguard1-static.c [new file with mode: 0644]
nptl/tst-stackguard1.c [new file with mode: 0644]
sysdeps/generic/dl-osinfo.h
sysdeps/generic/libc-start.c
sysdeps/generic/libc-tls.c
sysdeps/unix/sysv/linux/dl-osinfo.h