This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Fix gold build for aarch64
- From: Slava Barinov <v dot barinov at samsung dot com>
- To: binutils at sourceware dot org
- Cc: Slava Barinov <v dot barinov at samsung dot com>
- Date: Tue, 23 Sep 2014 10:27:03 +0400
- Subject: [PATCH] Fix gold build for aarch64
- Authentication-results: sourceware.org; auth=none
Linking aarch64-reloc-property obj to gold during build.
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
---
Hello,
I've got linkage problems during gold build for aarch64 architecture with
gold/aarch64.cc:453: undefined reference to `gold::AArch64_reloc_property_table::AArch64_reloc_property_table()'
Just adding aarch64-reloc-property to binary just like it's done for arm helped.
gold/configure.tgt | 1 +
1 file changed, 1 insertion(+)
diff --git a/gold/configure.tgt b/gold/configure.tgt
index 9a75070..59a681e 100644
--- a/gold/configure.tgt
+++ b/gold/configure.tgt
@@ -146,6 +146,7 @@ arm*-*-*)
;;
aarch64*-*)
targ_obj=aarch64
+ targ_extra_obj=aarch64-reloc-property
targ_machine=EM_AARCH64
targ_size=64
targ_extra_size=32
--
2.1.1