OSDN Git Service

Clean up linker architecture macros.
authorElliott Hughes <enh@google.com>
Sat, 26 Oct 2013 00:38:02 +0000 (17:38 -0700)
committerElliott Hughes <enh@google.com>
Mon, 28 Oct 2013 18:02:49 +0000 (11:02 -0700)
commit4eeb1f12a8b63afc0d0ad4d466b16fbffb21cd5a
tree618c8b7133f3602880e0a4c8285c34e7552a0a45
parent93fcfeee2b4de4c65fc766bf10601397592341d7
Clean up linker architecture macros.

We don't need our own architecture macros; the standard ones will do.

This patch also fixes some __x86_64__ tests to be USE_RELA tests instead,
because they're not actually x86_64-specific.

I've cleaned up architecture-specific code slightly so where possible
all the code corresponding to a particular architecture is together.

This patch also fixes a bug in LP64 DT_PLTGOT handling, which should be
an error rather than falling through into DT_DEBUG! There was another #ifdef
bug where we'd only report unexpected DT_ entries on MIPS.

Change-Id: Id1d04e372611f641c1aa278a18e379f28af9eaf5
libthread_db/libthread_db.c
linker/Android.mk
linker/debugger.cpp
linker/dlfcn.cpp
linker/linker.cpp
linker/linker.h
linker/linker_phdr.cpp
linker/linker_phdr.h