comparison gcc/config/i386/linux64.h @ 63:b7f97abdc517 gcc-4.6-20100522

update gcc from gcc-4.5.0 to gcc-4.6
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:47:05 +0900
parents 77e2b8dfacca
children f6334be47118
comparison
equal deleted inserted replaced
56:3c8a44c06a95 63:b7f97abdc517
1 /* Definitions for AMD x86-64 running Linux-based GNU systems with ELF format. 1 /* Definitions for AMD x86-64 running Linux-based GNU systems with ELF format.
2 Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 2 Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 Contributed by Jan Hubicka <jh@suse.cz>, based on linux.h. 4 Contributed by Jan Hubicka <jh@suse.cz>, based on linux.h.
5 5
6 This file is part of GCC. 6 This file is part of GCC.
7 7
59 done. */ 59 done. */
60 60
61 #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" 61 #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
62 #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" 62 #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
63 63
64 #undef ASM_SPEC
65 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
66 %{Wa,*:%*} %{m32:--32} %{m64:--64} \
67 %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
68
69 #if TARGET_64BIT_DEFAULT 64 #if TARGET_64BIT_DEFAULT
70 #define SPEC_32 "m32" 65 #define SPEC_32 "m32"
71 #define SPEC_64 "!m32" 66 #define SPEC_64 "!m32"
72 #else 67 #else
73 #define SPEC_32 "!m64" 68 #define SPEC_32 "!m64"
74 #define SPEC_64 "m64" 69 #define SPEC_64 "m64"
75 #endif 70 #endif
71
72 #undef ASM_SPEC
73 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
74 %{Wa,*:%*} %{" SPEC_32 ":--32} %{" SPEC_64 ":--64} \
75 %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
76 76
77 #undef LINK_SPEC 77 #undef LINK_SPEC
78 #define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} \ 78 #define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} \
79 %{shared:-shared} \ 79 %{shared:-shared} \
80 %{!shared: \ 80 %{!shared: \
103 #undef LIBGCC2_HAS_TF_MODE 103 #undef LIBGCC2_HAS_TF_MODE
104 #define LIBGCC2_HAS_TF_MODE 1 104 #define LIBGCC2_HAS_TF_MODE 1
105 #define LIBGCC2_TF_CEXT q 105 #define LIBGCC2_TF_CEXT q
106 #define TF_SIZE 113 106 #define TF_SIZE 113
107 107
108 #undef NEED_INDICATE_EXEC_STACK 108 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
109 #define NEED_INDICATE_EXEC_STACK 1
110 109
111 #define MD_UNWIND_SUPPORT "config/i386/linux-unwind.h" 110 #define MD_UNWIND_SUPPORT "config/i386/linux-unwind.h"
112 111
113 /* The stack pointer needs to be moved while checking the stack. */ 112 /* The stack pointer needs to be moved while checking the stack. */
114 #define STACK_CHECK_MOVING_SP 1 113 #define STACK_CHECK_MOVING_SP 1