Kai Wang ea22f625a7 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
2010-09-09 18:51:50 +00:00
..
2010-07-10 03:45:55 +00:00
2010-08-03 18:29:58 +00:00
2010-03-02 16:58:04 +00:00
2010-08-23 22:24:11 +00:00
2010-08-06 14:33:42 +00:00
2010-08-03 17:40:09 +00:00
2010-08-23 22:24:11 +00:00
2010-08-03 17:40:09 +00:00
2010-08-31 23:14:03 +00:00
2010-06-13 01:27:29 +00:00
2010-01-02 09:58:07 +00:00
2010-08-03 17:40:09 +00:00
2010-01-02 09:58:07 +00:00
2010-05-03 09:49:42 +00:00
2010-08-11 17:33:26 +00:00
2010-08-03 17:40:09 +00:00
2010-01-21 15:01:09 +00:00
2010-08-22 11:48:32 +00:00
2010-01-02 09:58:07 +00:00
2010-04-20 21:14:30 +00:00