summaryrefslogtreecommitdiffstats
path: root/core/definitions.mk
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2015-04-23 23:16:36 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-23 23:16:36 +0000
commitbe55caf2889378f5471d5cc8b840f000f0d26f79 (patch)
treedaf97b22863c3f9b438160cbd2f69552decfda3a /core/definitions.mk
parentbc83d0bb6820390edd19e13d75d3c9ec352415d1 (diff)
parent6f2935dc1432a38e149498b6efbd43ed9aceb827 (diff)
downloadbuild-be55caf2889378f5471d5cc8b840f000f0d26f79.zip
build-be55caf2889378f5471d5cc8b840f000f0d26f79.tar.gz
build-be55caf2889378f5471d5cc8b840f000f0d26f79.tar.bz2
am 6f2935dc: am dabf96ab: am c84b3a78: am 648f1b66: Merge "Pack relocation tables for dynamic executables"
* commit '6f2935dc1432a38e149498b6efbd43ed9aceb827': Pack relocation tables for 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