Date: Sun, 28 Jun 2009 23:51:39 +0000 (UTC) From: Alexander Kabaev <kan@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src Makefile.inc1 src/gnu/lib/libgcc Makefile src/gnu/lib/libssp/libssp_nonshared Makefile src/gnu/usr.bin/cc/cc_tools freebsd-native.h src/lib/libc Makefile src/lib/libc/sys Symbol.map stack_protector.c src/libexec/rtld-elf Makefile Message-ID: <200906282353.n5SNrSxo007791@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kan 2009-06-28 23:51:39 UTC
FreeBSD src repository
Modified files:
. Makefile.inc1
gnu/lib/libgcc Makefile
gnu/lib/libssp/libssp_nonshared Makefile
gnu/usr.bin/cc/cc_tools freebsd-native.h
lib/libc Makefile
lib/libc/sys Symbol.map stack_protector.c
libexec/rtld-elf Makefile
Log:
SVN rev 195151 on 2009-06-28 23:51:39Z by kan
Eliminate .text relocations in shared libraries compiled with stack protector.
Use libssp_nonshared library to pull __stack_chk_fail_local symbol into
each library that needs it instead of pulling it from libc. GCC generates
local calls to this function which result in absolute relocations put into
position-independent code segment, making dynamic loader do extra work everys
time given shared library is being relocated and making affected text pages
non-shareable.
Reviewed by: kib
Approved by: re (kensmith)
Revision Changes Path
1.626 +1 -1 src/Makefile.inc1
1.64 +7 -1 src/gnu/lib/libgcc/Makefile
1.2 +1 -1 src/gnu/lib/libssp/libssp_nonshared/Makefile
1.30 +8 -0 src/gnu/usr.bin/cc/cc_tools/freebsd-native.h
1.76 +1 -1 src/lib/libc/Makefile
1.25 +0 -1 src/lib/libc/sys/Symbol.map
1.3 +1 -6 src/lib/libc/sys/stack_protector.c
1.44 +1 -1 src/libexec/rtld-elf/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906282353.n5SNrSxo007791>
