comparison gcc/config/ia64/sysv4.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 /* Override definitions in elfos.h/svr4.h to be correct for IA64. 1 /* Override definitions in elfos.h to be correct for IA64.
2 2
3 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 3 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
4 2007 Free Software Foundation, Inc. 4 2007, 2010 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 it under 8 GCC is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free 9 the terms of the GNU General Public License as published by the Free
102 #undef INIT_SECTION_ASM_OP 102 #undef INIT_SECTION_ASM_OP
103 #define INIT_SECTION_ASM_OP "\t.section\t.init,\"ax\",\"progbits\"" 103 #define INIT_SECTION_ASM_OP "\t.section\t.init,\"ax\",\"progbits\""
104 #undef FINI_SECTION_ASM_OP 104 #undef FINI_SECTION_ASM_OP
105 #define FINI_SECTION_ASM_OP "\t.section\t.fini,\"ax\",\"progbits\"" 105 #define FINI_SECTION_ASM_OP "\t.section\t.fini,\"ax\",\"progbits\""
106 106
107 /* svr4.h undefines this, so we need to define it here. */
108 #define DBX_REGISTER_NUMBER(REGNO) \ 107 #define DBX_REGISTER_NUMBER(REGNO) \
109 ia64_dbx_register_number(REGNO) 108 ia64_dbx_register_number(REGNO)
110
111 /* Things that svr4.h defines to the wrong type, because it assumes 32-bit
112 ints and 32-bit longs. */
113 109
114 #undef SIZE_TYPE 110 #undef SIZE_TYPE
115 #define SIZE_TYPE "long unsigned int" 111 #define SIZE_TYPE "long unsigned int"
116 112
117 #undef PTRDIFF_TYPE 113 #undef PTRDIFF_TYPE
125 121
126 /* We redefine this to use the ia64 .proc pseudo-op. */ 122 /* We redefine this to use the ia64 .proc pseudo-op. */
127 123
128 #undef ASM_DECLARE_FUNCTION_NAME 124 #undef ASM_DECLARE_FUNCTION_NAME
129 #define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \ 125 #define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \
130 do { \ 126 ia64_start_function(FILE,NAME,DECL)
131 fputs ("\t.proc ", FILE); \
132 assemble_name (FILE, NAME); \
133 fputc ('\n', FILE); \
134 ASM_OUTPUT_LABEL (FILE, NAME); \
135 } while (0)
136 127
137 /* We redefine this to use the ia64 .endp pseudo-op. */ 128 /* We redefine this to use the ia64 .endp pseudo-op. */
138 129
139 #undef ASM_DECLARE_FUNCTION_SIZE 130 #undef ASM_DECLARE_FUNCTION_SIZE
140 #define ASM_DECLARE_FUNCTION_SIZE(FILE, NAME, DECL) \ 131 #define ASM_DECLARE_FUNCTION_SIZE(FILE, NAME, DECL) \