aboutsummaryrefslogtreecommitdiff
path: root/gold/configure
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
parent8825ac63ef01c08e4668e652d461f94e6761a312 (diff)
downloadbinutils-60b2b4e76593b78a2569d47309ee9587df324b65.zip
binutils-60b2b4e76593b78a2569d47309ee9587df324b65.tar.gz
binutils-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')
-rwxr-xr-xgold/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/configure b/gold/configure
index 574af8b..f8fcc76 100755
--- a/gold/configure
+++ b/gold/configure
@@ -2014,6 +2014,9 @@ echo "$as_me: error: \"unsupported target $targ\"" >&2;}
{ (exit 1); exit 1; }; }
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