aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.tgt
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.tgt
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.tgt')
-rw-r--r--gold/configure.tgt9
1 files changed, 9 insertions, 0 deletions
diff --git a/gold/configure.tgt b/gold/configure.tgt
index 967db56..70427d5 100644
--- a/gold/configure.tgt
+++ b/gold/configure.tgt
@@ -30,6 +30,7 @@
# shell variables:
# targ_obj object file to include in the link, with no extension
+# targ_extra_obj extra object file to include
# targ_machine ELF machine code for this target
# targ_size size of this target--32 or 64
# targ_extra_size extra targ_size setting for the target
@@ -38,6 +39,12 @@
# If the target is not recognized targ_obj is set to "UNKNOWN".
+targ_extra_obj=
+targ_machine=
+targ_size=
+targ_extra_size=
+targ_big_endian=
+targ_extra_big_endian=
case "$targ" in
i?86-*)
targ_obj=i386
@@ -47,8 +54,10 @@ i?86-*)
;;
x86_64*)
targ_obj=x86_64
+ targ_extra_obj=i386
targ_machine=EM_X86_64
targ_size=64
+ targ_extra_size=32
targ_big_endian=false
;;
sparc-*)