svn commit: r210324 - head/lib/libelf

Roman Divacky rdivacky at FreeBSD.org
Wed Jul 21 08:56:08 UTC 2010


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?


More information about the svn-src-head mailing list