Date: Sun, 10 Oct 2010 12:21:35 +0000 (UTC) From: Kai Wang <kaiw@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libelf elf_update.c Message-ID: <201010101221.o9ACLlkI052568@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kaiw 2010-10-10 12:21:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libelf elf_update.c Log: SVN rev 213671 on 2010-10-10 12:21:35Z by kaiw MFC r212373: 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. Revision Changes Path 1.3.2.5 +6 -11 src/lib/libelf/elf_update.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010101221.o9ACLlkI052568>