summaryrefslogtreecommitdiffstats
path: root/core/definitions.mk
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2015-04-23 03:42:44 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-23 03:42:44 +0000
commit943381b7df0b2eee3568ea5b6c270343707d4757 (patch)
tree2439248b110ca579dd23cdc44ccae971a0929df9 /core/definitions.mk
parent1699a90b2181f40c4796927d4404b1e02d65bf7b (diff)
parentff084258ea53c414d724ba87f89c324056def1bd (diff)
downloadbuild-943381b7df0b2eee3568ea5b6c270343707d4757.zip
build-943381b7df0b2eee3568ea5b6c270343707d4757.tar.gz
build-943381b7df0b2eee3568ea5b6c270343707d4757.tar.bz2
am ff084258: am b7b27621: am 64119a7f: am ec6a9773: Merge "Pack relocation tables for all dynamic executables"
* commit 'ff084258ea53c414d724ba87f89c324056def1bd': Pack relocation tables for all dynamic executables
Diffstat (limited to 'core/definitions.mk')
-rw-r--r--core/definitions.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index b5a89f3..fc18ee3 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -1489,6 +1489,15 @@ $(hide) $(PRIVATE_OBJCOPY) \
$(TARGET_STRIP_KEEP_SYMBOLS_EXTRA) $< $@
endef
+###########################################################
+## Commands for packing a target executable or library
+###########################################################
+
+define pack-elf-relocations
+$(copy-file-to-target)
+@echo "target Pack Relocations: $(PRIVATE_MODULE) ($@)"
+$(hide) $(RELOCATION_PACKER) $@
+endef
###########################################################
## Commands for running gcc to link an executable