aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.ac
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-05-05 20:20:21 +0000
committerIan Lance Taylor <ian@airs.com>2008-05-05 20:20:21 +0000
commit60b2b4e76593b78a2569d47309ee9587df324b65 (patch)
treef1ef6c4f768cebf5b9d531be0eb1cfe051403eaf /gold/configure.ac
parent8825ac63ef01c08e4668e652d461f94e6761a312 (diff)
downloadgdb-60b2b4e76593b78a2569d47309ee9587df324b65.zip
gdb-60b2b4e76593b78a2569d47309ee9587df324b65.tar.gz
gdb-60b2b4e76593b78a2569d47309ee9587df324b65.tar.bz2
* configure.ac: If targ_extra_obj is set, link it in.
* configure.tgt: Initialize all variables. (x86_64*): Set targ_extra_obj and targ_extra_size. * configure: Rebuild.
Diffstat (limited to 'gold/configure.ac')
-rw-r--r--gold/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/configure.ac b/gold/configure.ac
index 1dcd3ae..96733e4 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -107,6 +107,9 @@ for targ in $target $canon_targets; do
AC_MSG_ERROR("unsupported target $targ")
else
targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
+ if test "$targ_extra_obj" != ""; then
+ targetobjs="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
+ fi
if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
if test "$targ_big_endian" = "true" \
-o "$targ_extra_big_endian" = "true"; then