From owner-cvs-src-old@FreeBSD.ORG Sun Jun 28 23:53:28 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 535501065672 for ; Sun, 28 Jun 2009 23:53:28 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3D5248FC13 for ; Sun, 28 Jun 2009 23:53:28 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n5SNrS8A007792 for ; Sun, 28 Jun 2009 23:53:28 GMT (envelope-from kan@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5SNrSxo007791 for cvs-src-old@freebsd.org; Sun, 28 Jun 2009 23:53:28 GMT (envelope-from kan@repoman.freebsd.org) Message-Id: <200906282353.n5SNrSxo007791@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kan@repoman.freebsd.org using -f From: Alexander Kabaev Date: Sun, 28 Jun 2009 23:51:39 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2009 23:53:28 -0000 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