Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2010 10:51:17 +0200
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Kai Wang <kaiw@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r210324 - head/lib/libelf
Message-ID:  <20100721085117.GA28722@freebsd.org>
In-Reply-To: <201007210854.o6L8skIl067227@svn.freebsd.org>
References:  <201007210854.o6L8skIl067227@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100721085117.GA28722>