summaryrefslogtreecommitdiff
path: root/linker
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-09-18 16:15:53 +0900
committerJiyong Park <jiyong@google.com>2020-09-22 11:28:22 +0900
commit3b47d603fad0faaaca9afcee02b57615a12222ba (patch)
tree476cd208680f92f08702abbb0e10f3e1bbe50421 /linker
parentd7f153f9b9f222d60ea4ea8ae7942c846cfb17e7 (diff)
Add arm64 source to linker_wrapper
As we enable arm64-based Bionic host target (linux_bionic_arm64), linker_wrapper is added with the corresponding source. Bug: 159685774 Test: HOST_CROSS_OS=linux_bionic HOST_CROSS_ARCH=arm64 m Test: copy out/soong/host/linux_bionic_arm64/ to an ARM64 emulator running Linux and execute the binaries Change-Id: I4f367a349f7e0015318352cb7f2870fc856eab05
Diffstat (limited to 'linker')
-rw-r--r--linker/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/linker/Android.bp b/linker/Android.bp
index 08b2c7b07..a51b73fe4 100644
--- a/linker/Android.bp
+++ b/linker/Android.bp
@@ -39,6 +39,9 @@ cc_object {
"linker_wrapper.cpp",
],
arch: {
+ arm64: {
+ srcs: ["arch/arm64/begin.S"],
+ },
x86_64: {
srcs: ["arch/x86_64/begin.S"],
},