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
This commit is contained in:
Elliott Hughes
2014-02-10 17:46:57 -08:00
parent eeb9a9f59a
commit 0266ae5f88
20 changed files with 533 additions and 1833 deletions

View File

@@ -14,11 +14,8 @@ _LIBC_ARCH_COMMON_SRC_FILES := \
arch-arm/bionic/sigsetjmp.S \
arch-arm/bionic/syscall.S \
# These are used by the static and dynamic versions of the libc
# respectively.
_LIBC_ARCH_STATIC_SRC_FILES := \
arch-arm/bionic/exidx_static.c \
bionic/dl_iterate_phdr_static.c \
_LIBC_ARCH_DYNAMIC_SRC_FILES := \
arch-arm/bionic/exidx_dynamic.c \