comparison gcc/config/freebsd.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 77e2b8dfacca
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* Base configuration file for all FreeBSD targets. 1 /* Base configuration file for all FreeBSD targets.
2 Copyright (C) 1999, 2000, 2001, 2007, 2008 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2000, 2001, 2007, 2008, 2009,
3 2010 Free Software Foundation, Inc.
3 4
4 This file is part of GCC. 5 This file is part of GCC.
5 6
6 GCC is free software; you can redistribute it and/or modify 7 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
27 28
28 29
29 /* In case we need to know. */ 30 /* In case we need to know. */
30 #define USING_CONFIG_FREEBSD 1 31 #define USING_CONFIG_FREEBSD 1
31 32
32 /* This defines which switch letters take arguments. On FreeBSD, most of
33 the normal cases (defined in gcc.c) apply, and we also have -h* and
34 -z* options (for the linker) (coming from SVR4).
35 We also have -R (alias --rpath), no -z, --soname (-h), --assert etc. */
36
37 #undef SWITCH_TAKES_ARG
38 #define SWITCH_TAKES_ARG(CHAR) (FBSD_SWITCH_TAKES_ARG(CHAR))
39
40 #undef WORD_SWITCH_TAKES_ARG
41 #define WORD_SWITCH_TAKES_ARG(STR) (FBSD_WORD_SWITCH_TAKES_ARG(STR))
42
43 #undef TARGET_OS_CPP_BUILTINS 33 #undef TARGET_OS_CPP_BUILTINS
44 #define TARGET_OS_CPP_BUILTINS() FBSD_TARGET_OS_CPP_BUILTINS() 34 #define TARGET_OS_CPP_BUILTINS() FBSD_TARGET_OS_CPP_BUILTINS()
45 35
46 #undef CPP_SPEC 36 #undef CPP_SPEC
47 #define CPP_SPEC FBSD_CPP_SPEC 37 #define CPP_SPEC FBSD_CPP_SPEC
52 #undef ENDFILE_SPEC 42 #undef ENDFILE_SPEC
53 #define ENDFILE_SPEC FBSD_ENDFILE_SPEC 43 #define ENDFILE_SPEC FBSD_ENDFILE_SPEC
54 44
55 #undef LIB_SPEC 45 #undef LIB_SPEC
56 #define LIB_SPEC FBSD_LIB_SPEC 46 #define LIB_SPEC FBSD_LIB_SPEC
57
58 /* Define this so we can compile MS code for use with WINE. */
59 #define HANDLE_PRAGMA_PACK_PUSH_POP 1
60 47
61 /************************[ Target stuff ]***********************************/ 48 /************************[ Target stuff ]***********************************/
62 49
63 /* All FreeBSD Architectures support the ELF object file format. */ 50 /* All FreeBSD Architectures support the ELF object file format. */
64 #undef OBJECT_FORMAT_ELF 51 #undef OBJECT_FORMAT_ELF
74 #define WCHAR_TYPE "int" 61 #define WCHAR_TYPE "int"
75 62
76 #undef WINT_TYPE 63 #undef WINT_TYPE
77 #define WINT_TYPE "int" 64 #define WINT_TYPE "int"
78 65
79 #define MATH_LIBRARY_PROFILE "-lm_p" 66 #define MATH_LIBRARY_PROFILE "m_p"
80 67
81 /* Code generation parameters. */ 68 /* Code generation parameters. */
82 69
83 /* Use periods rather than dollar signs in special g++ assembler names. 70 /* Use periods rather than dollar signs in special g++ assembler names.
84 This ensures the configuration knows our system correctly so we can link 71 This ensures the configuration knows our system correctly so we can link