[PATCH] gold: define targ_extra_obj for aarch64
Andreas Schwab
schwab@linux-m68k.org
Tue Oct 14 20:02:00 GMT 2014
This fixes a build error when configuring with
--enable-targets=aarch64-linux.
aarch64.o: In function `do_select_as_default_target':
/home/andreas/src/binutils/test/gold/../../binutils/gold/aarch64.cc:453: undefined reference to `gold::AArch64_reloc_property_table::AArch64_reloc_property_table()'
/home/andreas/src/binutils/test/gold/../../binutils/gold/aarch64.cc:453: undefined reference to `gold::AArch64_reloc_property_table::AArch64_reloc_property_table()'
/home/andreas/src/binutils/test/gold/../../binutils/gold/aarch64.cc:453: undefined reference to `gold::AArch64_reloc_property_table::AArch64_reloc_property_table()'
/home/andreas/src/binutils/test/gold/../../binutils/gold/aarch64.cc:453: undefined reference to `gold::AArch64_reloc_property_table::AArch64_reloc_property_table()'
aarch64.o: In function `relocate':
/home/andreas/src/binutils/test/gold/../../binutils/gold/aarch64.cc:3258: undefined reference to `gold::AArch64_reloc_property_table::reloc_name_in_error_message(unsigned int)'
/home/andreas/src/binutils/test/gold/../../binutils/gold/aarch64.cc:3258: undefined reference to `gold::AArch64_reloc_property_table::reloc_name_in_error_message(unsigned int)'
/home/andreas/src/binutils/test/gold/../../binutils/gold/aarch64.cc:3258: undefined reference to `gold::AArch64_reloc_property_table::reloc_name_in_error_message(unsigned int)'
/home/andreas/src/binutils/test/gold/../../binutils/gold/aarch64.cc:3258: undefined reference to `gold::AArch64_reloc_property_table::reloc_name_in_error_message(unsigned int)'
aarch64.o: In function `global':
/home/andreas/src/binutils/test/gold/../../binutils/gold/aarch64.cc:2985: undefined reference to `gold::AArch64_reloc_property_table::reloc_name_in_error_message(unsigned int)'
aarch64.o:/home/andreas/src/binutils/test/gold/../../binutils/gold/aarch64.cc:2985: more undefined references to `gold::AArch64_reloc_property_table::reloc_name_in_error_message(unsigned int)' follow
Andreas.
* configure.tgt (targ_extra_obj) [aarch64*-*]: Define.
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.2
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list