Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/mips/iris6.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | b7f97abdc517 |
children |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 /* Definitions of target machine for GNU compiler. IRIX 6.5 version. | 1 /* Definitions of target machine for GNU compiler. IRIX 6.5 version. |
2 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 2000, | 2 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 2000, |
3 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | 3 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 |
4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
5 | 5 |
6 This file is part of GCC. | 6 This file is part of GCC. |
7 | 7 |
8 GCC is free software; you can redistribute it and/or modify | 8 GCC is free software; you can redistribute it and/or modify |
35 #undef DRIVER_SELF_SPECS | 35 #undef DRIVER_SELF_SPECS |
36 #define DRIVER_SELF_SPECS \ | 36 #define DRIVER_SELF_SPECS \ |
37 "%{!mabi=*: -mabi=n32}", \ | 37 "%{!mabi=*: -mabi=n32}", \ |
38 /* Configuration-independent MIPS rules. */ \ | 38 /* Configuration-independent MIPS rules. */ \ |
39 BASE_DRIVER_SELF_SPECS | 39 BASE_DRIVER_SELF_SPECS |
40 | |
41 /* IRIX 6.5 has the float and long double forms of math functions. */ | |
42 #define TARGET_C99_FUNCTIONS 1 | |
40 | 43 |
41 /* MIPS specific debugging info */ | 44 /* MIPS specific debugging info */ |
42 #define MIPS_DEBUGGING_INFO 1 | 45 #define MIPS_DEBUGGING_INFO 1 |
43 | 46 |
44 /* Force the generation of dwarf .debug_frame sections even if not | 47 /* Force the generation of dwarf .debug_frame sections even if not |
143 #define SIG_ATOMIC_TYPE "int" | 146 #define SIG_ATOMIC_TYPE "int" |
144 | 147 |
145 /* Plain char is unsigned in the SGI compiler. */ | 148 /* Plain char is unsigned in the SGI compiler. */ |
146 #undef DEFAULT_SIGNED_CHAR | 149 #undef DEFAULT_SIGNED_CHAR |
147 #define DEFAULT_SIGNED_CHAR 0 | 150 #define DEFAULT_SIGNED_CHAR 0 |
148 | |
149 #define WORD_SWITCH_TAKES_ARG(STR) \ | |
150 (DEFAULT_WORD_SWITCH_TAKES_ARG (STR) \ | |
151 || strcmp (STR, "rpath") == 0) | |
152 | 151 |
153 #define TARGET_OS_CPP_BUILTINS() \ | 152 #define TARGET_OS_CPP_BUILTINS() \ |
154 do \ | 153 do \ |
155 { \ | 154 { \ |
156 builtin_define_std ("host_mips"); \ | 155 builtin_define_std ("host_mips"); \ |
313 | 312 |
314 /* A linker error can empirically be avoided by removing duplicate | 313 /* A linker error can empirically be avoided by removing duplicate |
315 library search directories. */ | 314 library search directories. */ |
316 #define LINK_ELIMINATE_DUPLICATE_LDIRECTORIES 1 | 315 #define LINK_ELIMINATE_DUPLICATE_LDIRECTORIES 1 |
317 | 316 |
317 /* The SGI linker doesn't understand constructor priorities. */ | |
318 #ifndef IRIX_USING_GNU_LD | |
319 #define SUPPORTS_INIT_PRIORITY 0 | |
320 #endif | |
321 | |
318 /* Add -g to mips.h default to avoid confusing gas with local symbols | 322 /* Add -g to mips.h default to avoid confusing gas with local symbols |
319 generated from stabs info. */ | 323 generated from stabs info. */ |
320 #undef NM_FLAGS | 324 #undef NM_FLAGS |
321 #define NM_FLAGS "-Bng" | 325 #define NM_FLAGS "-Bng" |
322 | 326 |