Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/i386/linux.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | 58ad6c70ea60 |
children | b7f97abdc517 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
1 /* Definitions for Intel 386 running Linux-based GNU systems with ELF format. | 1 /* Definitions for Intel 386 running Linux-based GNU systems with ELF format. |
2 Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2004, 2005, | 2 Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2004, 2005, |
3 2006, 2007, 2008 Free Software Foundation, Inc. | 3 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
4 Contributed by Eric Youngdale. | 4 Contributed by Eric Youngdale. |
5 Modified for stabs-in-ELF by H.J. Lu. | 5 Modified for stabs-in-ELF by H.J. Lu. |
6 | 6 |
7 This file is part of GCC. | 7 This file is part of GCC. |
8 | 8 |
102 #define LINK_EMULATION "elf_i386" | 102 #define LINK_EMULATION "elf_i386" |
103 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" | 103 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" |
104 | 104 |
105 #undef ASM_SPEC | 105 #undef ASM_SPEC |
106 #define ASM_SPEC \ | 106 #define ASM_SPEC \ |
107 "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} \ | 107 "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} --32 \ |
108 %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}" | 108 %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}" |
109 | 109 |
110 #undef SUBTARGET_EXTRA_SPECS | 110 #undef SUBTARGET_EXTRA_SPECS |
111 #define SUBTARGET_EXTRA_SPECS \ | 111 #define SUBTARGET_EXTRA_SPECS \ |
112 { "link_emulation", LINK_EMULATION },\ | 112 { "link_emulation", LINK_EMULATION },\ |
154 /* Make sure that we have at least 8 byte alignment if > 8 byte \ | 154 /* Make sure that we have at least 8 byte alignment if > 8 byte \ |
155 alignment is preferred. */ \ | 155 alignment is preferred. */ \ |
156 if ((LOG) > 3 \ | 156 if ((LOG) > 3 \ |
157 && (1 << (LOG)) > ((MAX_SKIP) + 1) \ | 157 && (1 << (LOG)) > ((MAX_SKIP) + 1) \ |
158 && (MAX_SKIP) >= 7) \ | 158 && (MAX_SKIP) >= 7) \ |
159 fprintf ((FILE), "\t.p2align 3\n"); \ | 159 fputs ("\t.p2align 3\n", (FILE)); \ |
160 } \ | 160 } \ |
161 } \ | 161 } \ |
162 } while (0) | 162 } while (0) |
163 #endif | 163 #endif |
164 | 164 |
205 #undef NEED_INDICATE_EXEC_STACK | 205 #undef NEED_INDICATE_EXEC_STACK |
206 #define NEED_INDICATE_EXEC_STACK 1 | 206 #define NEED_INDICATE_EXEC_STACK 1 |
207 | 207 |
208 #define MD_UNWIND_SUPPORT "config/i386/linux-unwind.h" | 208 #define MD_UNWIND_SUPPORT "config/i386/linux-unwind.h" |
209 | 209 |
210 /* The stack pointer needs to be moved while checking the stack. */ | |
211 #define STACK_CHECK_MOVING_SP 1 | |
212 | |
210 /* This macro may be overridden in i386/k*bsd-gnu.h. */ | 213 /* This macro may be overridden in i386/k*bsd-gnu.h. */ |
211 #define REG_NAME(reg) reg | 214 #define REG_NAME(reg) reg |
212 | 215 |
213 #ifdef TARGET_LIBC_PROVIDES_SSP | 216 #ifdef TARGET_LIBC_PROVIDES_SSP |
214 /* i386 glibc provides __stack_chk_guard in %gs:0x14. */ | 217 /* i386 glibc provides __stack_chk_guard in %gs:0x14. */ |