comparison gcc/config/pa/pa-hpux.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 /* Definitions of target machine for GNU compiler, for HP-UX. 1 /* Definitions of target machine for GNU compiler, for HP-UX.
2 Copyright (C) 1991, 1995, 1996, 2002, 2003, 2004, 2007, 2008 2 Copyright (C) 1991, 1995, 1996, 2002, 2003, 2004, 2007, 2008, 2009, 2010
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify 7 GCC is free software; you can redistribute it and/or modify
20 20
21 /* HP-UX UNIX features. */ 21 /* HP-UX UNIX features. */
22 #undef TARGET_HPUX 22 #undef TARGET_HPUX
23 #define TARGET_HPUX 1 23 #define TARGET_HPUX 1
24 24
25 #undef HPUX_LONG_DOUBLE_LIBRARY
26 #define HPUX_LONG_DOUBLE_LIBRARY 1
27
25 #undef TARGET_DEFAULT 28 #undef TARGET_DEFAULT
26 #define TARGET_DEFAULT MASK_BIG_SWITCH 29 #define TARGET_DEFAULT MASK_BIG_SWITCH
27 30
28 /* Make GCC agree with types.h. */ 31 /* Make GCC agree with types.h. */
29 #undef SIZE_TYPE 32 #undef SIZE_TYPE
31 34
32 #define SIZE_TYPE "unsigned int" 35 #define SIZE_TYPE "unsigned int"
33 #define PTRDIFF_TYPE "int" 36 #define PTRDIFF_TYPE "int"
34 37
35 #define LONG_DOUBLE_TYPE_SIZE 128 38 #define LONG_DOUBLE_TYPE_SIZE 128
36 #define HPUX_LONG_DOUBLE_LIBRARY
37 #define FLOAT_LIB_COMPARE_RETURNS_BOOL(MODE, COMPARISON) ((MODE) == TFmode) 39 #define FLOAT_LIB_COMPARE_RETURNS_BOOL(MODE, COMPARISON) ((MODE) == TFmode)
38 40
39 /* GCC always defines __STDC__. HP C++ compilers don't define it. This 41 /* GCC always defines __STDC__. HP C++ compilers don't define it. This
40 causes trouble when sys/stdsyms.h is included. As a work around, 42 causes trouble when sys/stdsyms.h is included. As a work around,
41 we define __STDC_EXT__. A similar situation exists with respect to 43 we define __STDC_EXT__. A similar situation exists with respect to
112 /* We want the entry value of SP saved in the frame marker for 114 /* We want the entry value of SP saved in the frame marker for
113 compatibility with the HP-UX unwind library. */ 115 compatibility with the HP-UX unwind library. */
114 #undef TARGET_HPUX_UNWIND_LIBRARY 116 #undef TARGET_HPUX_UNWIND_LIBRARY
115 #define TARGET_HPUX_UNWIND_LIBRARY 1 117 #define TARGET_HPUX_UNWIND_LIBRARY 1
116 118
117 /* Handle #pragma weak and #pragma pack. */
118 #undef HANDLE_SYSV_PRAGMA
119 #define HANDLE_SYSV_PRAGMA
120
121 /* Define this so we can compile MS code for use with WINE. */
122 #undef HANDLE_PRAGMA_PACK_PUSH_POP
123 #define HANDLE_PRAGMA_PACK_PUSH_POP
124
125 #define MD_UNWIND_SUPPORT "config/pa/hpux-unwind.h" 119 #define MD_UNWIND_SUPPORT "config/pa/hpux-unwind.h"