aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-01-06 12:36:04 +0000
committerJan Hubicka <jh@suse.cz>2001-01-06 12:36:04 +0000
commitb96d3a207aacb0711c6ba8e4d52490c0147c552c (patch)
tree0470a419c9eff0934a949c7fc8f88cead8a9acfd /gas/configure.in
parent55b62671859533625df700a5aa2a87f046d90ead (diff)
downloadgdb-b96d3a207aacb0711c6ba8e4d52490c0147c552c.zip
gdb-b96d3a207aacb0711c6ba8e4d52490c0147c552c.tar.gz
gdb-b96d3a207aacb0711c6ba8e4d52490c0147c552c.tar.bz2
* configure.in: Define DEFAULT_ARCH for i386.
* tc-i386.c (md_assemble): Return after the error message; move testing for 64bit operands to proper place. * i386.exp: Add tests for presence of 32bit versus 64bit output format; run both 64bit and 32bit tests when format is available; add x86_64 test. * x86_64.s: New file. * x86_64.d: New file.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/configure.in b/gas/configure.in
index 8887d2a..fbb3dd3 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -540,6 +540,11 @@ changequote([,])dnl
fi
;;
+ i386)
+ if test $this_target = $target ; then
+ AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.])
+ fi
+ ;;
sparc)
if test $this_target = $target ; then
AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.])