From owner-svn-src-head@FreeBSD.ORG Wed Jul 21 08:56:08 2010 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABE3E1065675; Wed, 21 Jul 2010 08:56:08 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 61E728FC15; Wed, 21 Jul 2010 08:56:07 +0000 (UTC) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id EB20D9CB083; Wed, 21 Jul 2010 10:51:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by lev.vlakno.cz (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T0Jv-YfS2A9x; Wed, 21 Jul 2010 10:51:17 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 7EF8A9CB28F; Wed, 21 Jul 2010 10:51:17 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o6L8pHY9028778; Wed, 21 Jul 2010 10:51:17 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 21 Jul 2010 10:51:17 +0200 From: Roman Divacky To: Kai Wang Message-ID: <20100721085117.GA28722@freebsd.org> References: <201007210854.o6L8skIl067227@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201007210854.o6L8skIl067227@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r210324 - head/lib/libelf X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2010 08:56:08 -0000 On Wed, Jul 21, 2010 at 08:54:46AM +0000, Kai Wang wrote: > Author: kaiw > Date: Wed Jul 21 08:54:46 2010 > New Revision: 210324 > URL: http://svn.freebsd.org/changeset/base/210324 > > Log: > - Correctly handle sections of type SHT_NOBITS. For these sections: > - elf_getdata() and elf_rawdata() should return an "Elf_Data" structure > that has its "d_buf" member set to NULL and "d_size" member set to > the nominal 'size' of the section. [1] > - Update the manual page for these functions. > - Fix a memory leak in an error handling path inside elf_getdata(). > - Use _libelf_allocate_data() in elf_newdata() for consistency. this is the fix that fixes -flto with gcc45?