summaryrefslogtreecommitdiffstats
path: root/tools/apriori/prelinkmap.h
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2011-03-08 16:19:48 -0800
committerIliyan Malchev <malchev@google.com>2011-03-12 14:59:46 -0800
commitb375e71d306f2fd356b9b356b636e568c4581fa1 (patch)
tree0cb0325afabe55732edb092659793d39d51c4212 /tools/apriori/prelinkmap.h
parent0469678719a5e8d59b779c8ae8e87a317c5788f5 (diff)
downloadbuild-b375e71d306f2fd356b9b356b636e568c4581fa1.zip
build-b375e71d306f2fd356b9b356b636e568c4581fa1.tar.gz
build-b375e71d306f2fd356b9b356b636e568c4581fa1.tar.bz2
build: remove prelinker build build system
This patch removes support for prelinking from the build system. By now, the prelinker has outlived its usefulness for several reasons. Firstly, the speedup that it afforded in the early days of Android is now nullified by the speed of hardware, as well as by the presence of Zygote. Secondly, the space savings that come with prelinking (measued at 17MB on a recent honeycomb stingray build) are no longer important either. Thirdly, prelinking reduces the effectiveness of Address-Space-Layout Randomization. Finally, since it is not part of the gcc suite, the prelinker needs to be maintained separately. The patch deletes apriori, soslim, lsd, isprelinked, and iself from the source tree. It also removes the prelink map. LOCAL_PRELINK_MODULE becomes a no-op. Individual Android.mk will get cleaned separately. Support for prelinking will have to be removed from the recovery code and from the dynamic loader as well. Change-Id: I5839c9c25f7772d5183eedfe20ab924f2a7cd411
Diffstat (limited to 'tools/apriori/prelinkmap.h')
-rw-r--r--tools/apriori/prelinkmap.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/apriori/prelinkmap.h b/tools/apriori/prelinkmap.h
deleted file mode 100644
index 17f7660..0000000
--- a/tools/apriori/prelinkmap.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#ifndef PRELINKMAP_H
-#define PRELINKMAP_H
-
-#include <sys/types.h>
-
-extern void pm_init(const char *file);
-extern void pm_report_library_size_in_memory(const char *name, off_t fsize);
-extern unsigned pm_get_next_link_address(const char *name);
-
-#endif/*PRELINKMAP_H*/