svn commit: r212373 - head/lib/libelf

Steve Kargl sgk at troutmask.apl.washington.edu
Thu Sep 9 18:59:57 UTC 2010


On Thu, Sep 09, 2010 at 06:51:50PM +0000, Kai Wang wrote:
> Author: kaiw
> Date: Thu Sep  9 18:51:50 2010
> New Revision: 212373
> URL: http://svn.freebsd.org/changeset/base/212373
> 
> Log:
>   libelf is overly strict about the type and alignment of Elf_Data
>   objects inside one ELF section, which prevents the creation of a ELF
>   section with mixed data types. For example, gcc LTO use libelf to
>   create a .gnu_lto_XXX section that contains integers and a string
>   table, which doesn't work with our libelf implementation.
>   
>   The changes made in this commit include:
>   * Allow Elf_Data type to be different than section type.
>   * Relax Elf_Data alignment check.
>   * Align each Elf_Data by their own alignment instead of section alignment.
>   

Thanks you!

-- 
Steve


More information about the svn-src-head mailing list