svn commit: r210324 - head/lib/libelf
Kai Wang
kaiwang27 at gmail.com
Wed Jul 21 09:05:52 UTC 2010
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 at .
I'll write you and kan@ a private mail about kan@'s patch later.
Kai
More information about the svn-src-all
mailing list