Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2010 11:05:47 +0200
From:      Kai Wang <kaiwang27@gmail.com>
To:        Roman Divacky <rdivacky@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:  <20100721090547.GA2532@viskning>
In-Reply-To: <20100721085117.GA28722@freebsd.org>
References:  <201007210854.o6L8skIl067227@svn.freebsd.org> <20100721085117.GA28722@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 21, 2010 at 10:51:17AM +0200, Roman Divacky wrote:
> 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?

No. This fixes is irrelevant to gcc LTO.

Actually, this partially fixed the empty section problem reported by kan@.
I'll write you and kan@ a private mail about kan@'s patch later.

Kai



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