From owner-svn-src-all@FreeBSD.ORG Wed Feb 25 08:39:49 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23E2BFCC; Wed, 25 Feb 2015 08:39:49 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E342F99; Wed, 25 Feb 2015 08:39:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1P8dmNZ067119; Wed, 25 Feb 2015 08:39:48 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1P8dmu1067118; Wed, 25 Feb 2015 08:39:48 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201502250839.t1P8dmu1067118@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Wed, 25 Feb 2015 08:39:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r279271 - stable/10/contrib/binutils/ld/scripttempl X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 08:39:49 -0000 Author: tijl Date: Wed Feb 25 08:39:48 2015 New Revision: 279271 URL: https://svnweb.freebsd.org/changeset/base/279271 Log: MFC r278586: Fix ldscripts such that ld(1) collects the .fini_array section in the same order as the .init_array section. Finalisation routines need to be called in the opposite order as their corresponding initialisation routines but rtld(1) handles that by calling the function pointers in .fini_array in reverse order. Reviewed by: kib Modified: stable/10/contrib/binutils/ld/scripttempl/elf.sc Directory Properties: stable/10/ (props changed) Modified: stable/10/contrib/binutils/ld/scripttempl/elf.sc ============================================================================== --- stable/10/contrib/binutils/ld/scripttempl/elf.sc Wed Feb 25 08:35:00 2015 (r279270) +++ stable/10/contrib/binutils/ld/scripttempl/elf.sc Wed Feb 25 08:39:48 2015 (r279271) @@ -402,8 +402,8 @@ cat <