OSDN Git Service

Switch <elf.h> over to linux uapi under the covers.
authorElliott Hughes <enh@google.com>
Tue, 11 Feb 2014 01:46:57 +0000 (17:46 -0800)
committerElliott Hughes <enh@google.com>
Tue, 11 Feb 2014 02:22:24 +0000 (18:22 -0800)
commit0266ae5f884d72da58f33a072e865ba131234a5e
tree48763b706806f544b1dec0ef98261bed6f21dee2
parenteeb9a9f59a58a2f042e8f6fd1a4911ae92ac5493
Switch <elf.h> over to linux uapi under the covers.

Remove the linker's reliance on BSD cruft and use the glibc-style
ElfW macro. (Other code too, but the linker contains the majority
of the code that needs to work for Elf32 and Elf64.)

All platforms need dl_iterate_phdr_static, so it doesn't make sense
to have that part of the per-architecture configuration.

Bug: 12476126
Change-Id: I1d7f918f1303a392794a6cd8b3512ff56bd6e487
20 files changed:
libc/Android.mk
libc/arch-arm/arm.mk
libc/arch-arm64/arm64.mk
libc/arch-mips/mips.mk
libc/arch-mips64/mips64.mk
libc/arch-x86/x86.mk
libc/arch-x86_64/x86_64.mk
libc/bionic/dl_iterate_phdr_static.c [deleted file]
libc/bionic/dl_iterate_phdr_static.cpp [new file with mode: 0644]
libc/bionic/getauxval.cpp
libc/bionic/libc_init_static.cpp
libc/include/elf.h
libc/include/sys/exec_elf.h [deleted file]
libc/private/KernelArgumentBlock.h
libc/private/bionic_auxv.h
linker/dlfcn.cpp
linker/linker.cpp
linker/linker.h
linker/linker_phdr.cpp
linker/linker_phdr.h