aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2001-10-02 10:59:42 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2001-10-02 10:59:42 +0000
commit14f73b5a12d2789e421e4be0484d28a1c18872bc (patch)
tree70110e347db132c6e0f4f51554c0c0348a6fc741 /gcc/config.gcc
parent80a497e4e967ad5cdf59a1c4d2be2fdbba14ea3f (diff)
downloadgcc-14f73b5a12d2789e421e4be0484d28a1c18872bc.zip
gcc-14f73b5a12d2789e421e4be0484d28a1c18872bc.tar.gz
gcc-14f73b5a12d2789e421e4be0484d28a1c18872bc.tar.bz2
invoke.texi (i386 Options): Document x86-64 options.
* doc/invoke.texi (i386 Options): Document x86-64 options. (i386 and x86-64 Options): Rename i386 options section. * config/i386/i386.h (TARGET_UNWIND_INFO): New. (TARGET_SWITCHES): Add -munwind-info. (MASK_NO_UNWIND_INFO): New. (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for biarch compilation. (ASM_OUTPUT_DOUBLE_INT): New. * config/i386/linux64.h: New spec file for Linux x86-64 support. * config.gcc: Fix tm_file settings for x86-64. * config/i386/x86-64.h: New file with OS independent x86-64 definitions. * config/i386/biarch64.h: New file used to configure compiler to biarch/64bit compilation. * config/i386/i386.c: (override_options): Set flags default for 64bit compilation. * i386.c (legitimize_pic_address): Add missing bits of 64bit support. (ix86_expand_int_movcc): Optimize DImode conditional moves with constants on x86_64. (ix86_attr_length_immediate_default): Support MODE_DI. * i386.md (fixdi splitter): Add missing "&& 1" in splitter condition. (indirect_jump, tablejump): Turn into expander. From-SVN: r45946
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index d501991..df86a7b 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -222,6 +222,9 @@ c*-convex-*)
i[34567]86-*-*)
cpu_type=i386
;;
+x86_64-*-*)
+ cpu_type=i386
+ ;;
hppa*-*-* | parisc*-*-*)
cpu_type=pa
;;
@@ -1140,6 +1143,18 @@ i[34567]86-*-linux*) # Intel 80386's running GNU/Linux
thread_file='posix'
fi
;;
+x86_64-*-linux*)
+ xmake_file=x-linux
+ tm_file="i386/biarch64.h i386/i386.h i386/att.h linux.h i386/x86-64.h \
+ i386/linux64.h"
+ tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+ gnu_ld=yes
+ float_format=i386
+ if test x$enable_threads = xyes; then
+ thread_file='posix'
+ fi
+ ;;
i[34567]86-*-gnu*)
float_format=i386
;;