diff options
author | kaiw <kaiw@FreeBSD.org> | 2010-09-09 18:51:50 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2010-09-09 18:51:50 +0000 |
commit | 18f75881f89be44207befb312f5d2186a126cfaa (patch) | |
tree | a62678f29ad4dfd75799e44f28c34cbf9312d2bc /lib/libc/posix1e/acl_strip.c | |
parent | f2b9e3d89d72552e7139e0a05436a14a599a0328 (diff) | |
download | FreeBSD-src-18f75881f89be44207befb312f5d2186a126cfaa.zip FreeBSD-src-18f75881f89be44207befb312f5d2186a126cfaa.tar.gz |
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.
MFC after: 1 month
Diffstat (limited to 'lib/libc/posix1e/acl_strip.c')
0 files changed, 0 insertions, 0 deletions