On Sun, Jun 13, 2010 at 10:58:50AM +0000, Kai Wang wrote:
> Author: kaiw
> Date: Sun Jun 13 10:58:50 2010
> New Revision: 209122
> URL: http://svn.freebsd.org/changeset/base/209122
> 
> Log:
>   * Improve compatibility with existing application code by permitting the
>     use of `elf_getbase()` on non-archive members. This change is needed
>     for gcc LTO (-flto) to work properly.
>   * Style fix: paranthesize returned values.
>   * Document the current behaviour of `elf_getbase()`.
>   
>   Tested by:  gerald, Steve Kargl (original patch)
>   Obtained from:      elftoolchain
>   MFC after:  3 days
> 
> Modified:
>   head/lib/libelf/elf_getbase.3
>   head/lib/libelf/elf_getbase.c

Thanks.  Unfortunately without the patch to elf_update.c,
gcc LTO will not work (ie., 'gcc -flto -o z a.o b.o' will
segfault).  Any chance that the elf_update.c patch will be
committed; possibly as a conditional compilation.

-- 
Steve
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to