OSDN Git Service

d6398af7b65d85f8b6d0ceec44bb25efed5a7090
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / cygwin.h
1 /* Operating system specific defines to be used when targeting GCC for
2    hosting on Windows NT 3.x, using a Unix style C library and tools,
3    as distinct from winnt.h, which is used to build GCC for use with a
4    windows style library and tool set and uses the Microsoft tools.
5    Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000
6    Free Software Foundation, Inc.
7
8 This file is part of GNU CC.
9
10 GNU CC is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2, or (at your option)
13 any later version.
14
15 GNU CC is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with GNU CC; see the file COPYING.  If not, write to
22 the Free Software Foundation, 59 Temple Place - Suite 330,
23 Boston, MA 02111-1307, USA. */
24
25 #define YES_UNDERSCORES
26
27 #define DBX_DEBUGGING_INFO 
28 #define SDB_DEBUGGING_INFO 
29 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
30
31 #include "i386/gas.h"
32 #include "dbxcoff.h"
33
34 /* Augment TARGET_SWITCHES with the cygwin/no-cygwin options. */
35 #define MASK_WIN32 0x40000000 /* Use -lming32 interface */
36 #define MASK_CYGWIN  0x20000000 /* Use -lcygwin interface */
37 #define MASK_WINDOWS 0x10000000 /* Use windows interface */
38 #define MASK_DLL     0x08000000 /* Use dll interface    */
39 #define MASK_NOP_FUN_DLLIMPORT 0x20000 /* Ignore dllimport for functions */
40
41 #define TARGET_WIN32             (target_flags & MASK_WIN32)
42 #define TARGET_CYGWIN            (target_flags & MASK_CYGWIN)
43 #define TARGET_WINDOWS           (target_flags & MASK_WINDOWS)
44 #define TARGET_DLL               (target_flags & MASK_DLL)
45 #define TARGET_NOP_FUN_DLLIMPORT (target_flags & MASK_NOP_FUN_DLLIMPORT)
46
47 #undef  SUBTARGET_SWITCHES
48 #define SUBTARGET_SWITCHES \
49 { "cygwin",               MASK_CYGWIN,                                  \
50   N_("Use the Cygwin interface") },                                     \
51 { "no-cygwin",            MASK_WIN32,                                   \
52   N_("Use the Mingw32 interface") },                                    \
53 { "windows",              MASK_WINDOWS, N_("Create GUI application") }, \
54 { "console",              -MASK_WINDOWS,                                \
55   N_("Create console application") },                                   \
56 { "dll",                  MASK_DLL, N_("Generate code for a DLL") },    \
57 { "nop-fun-dllimport",    MASK_NOP_FUN_DLLIMPORT,                       \
58   N_("Ignore dllimport for functions") },                               \
59 { "no-nop-fun-dllimport", -MASK_NOP_FUN_DLLIMPORT, "" }, \
60 { "threads",              0, N_("Use Mingw-specific thread support") },
61
62
63 /* Support the __declspec keyword by turning them into attributes.
64    We currently only support: dllimport and dllexport.
65    Note that the current way we do this may result in a collision with
66    predefined attributes later on.  This can be solved by using one attribute,
67    say __declspec__, and passing args to it.  The problem with that approach
68    is that args are not accumulated: each new appearance would clobber any
69    existing args.  */
70
71 #undef CPP_PREDEFINES
72 #define CPP_PREDEFINES "-D_WIN32 \
73   -DWINNT  -D_X86_=1 \
74   -Asystem(winnt)"
75
76 /* Normally, -lgcc is not needed since everything in it is in the DLL, but we
77    want to allow things to be added to it when installing new versions of
78    GCC without making a new CYGWIN.DLL, so we leave it.  Profiling is handled
79    by calling the init function from the prologue. */
80
81 #undef STARTFILE_SPEC
82 #define STARTFILE_SPEC "%{mdll: %{mno-cygwin:dllcrt1%O%s}} \
83                         %{!mdll: %{!mno-cygwin:crt0%O%s} \
84                                  %{mno-cygwin:crt1%O%s} %{pg:gcrt0%O%s}}"
85
86 #undef CPP_SPEC
87 #define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE} \
88   -D__stdcall=__attribute__((__stdcall__)) \
89   -D__cdecl=__attribute__((__cdecl__)) \
90   %{!ansi:-D_stdcall=__attribute__((__stdcall__)) \
91     -D_cdecl=__attribute__((__cdecl__))} \
92   -D__declspec(x)=__attribute__((x)) \
93   %{!mno-cygwin:-D__CYGWIN32__ -D__CYGWIN__} \
94   %{mno-cygwin:-iwithprefixbefore \
95     ../../../../%(mingw_include_path)/include/mingw32 -D__MINGW32__=0.2}"
96
97 /* This macro defines names of additional specifications to put in the specs
98    that can be used in various specifications like CC1_SPEC.  Its definition
99    is an initializer with a subgrouping for each command option.
100
101    Each subgrouping contains a string constant, that defines the
102    specification name, and a string constant that used by the GNU CC driver
103    program.
104
105    Do not define this macro if it does not need to do anything.  */
106
107 #undef  SUBTARGET_EXTRA_SPECS
108 #define SUBTARGET_EXTRA_SPECS                                           \
109   { "mingw_include_path", DEFAULT_TARGET_MACHINE }
110
111 /* We have to dynamic link to get to the system DLLs.  All of libc, libm and
112    the Unix stuff is in cygwin.dll.  The import library is called
113    'libcygwin.a'.  For Windows applications, include more libraries, but
114    always include kernel32.  We'd like to specific subsystem windows to
115    ld, but that doesn't work just yet.  */
116
117 #undef LIB_SPEC
118 #define LIB_SPEC "%{pg:-lgmon} \
119                   %{!mno-cygwin:-lcygwin} \
120                   %{mno-cygwin:-lmingw32 -lmoldname -lcrtdll} \
121                   %{mwindows:-lgdi32 -lcomdlg32} \
122                   -luser32 -lkernel32 -ladvapi32 -lshell32"
123
124 #define LINK_SPEC "%{mwindows:--subsystem windows} \
125                    %{mconsole:--subsystem console} \
126                    %{mdll:--dll -e _DllMainCRTStartup@12}"
127
128
129 #define SIZE_TYPE "unsigned int"
130 #define PTRDIFF_TYPE "int"
131 #define WCHAR_UNSIGNED 1
132 #define WCHAR_TYPE_SIZE 16
133 #define WCHAR_TYPE "short unsigned int"
134
135 \f
136 /* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop).  */
137 #define HANDLE_PRAGMA_PACK_PUSH_POP 1
138
139 /* A C expression whose value is nonzero if IDENTIFIER with arguments ARGS
140    is a valid machine specific attribute for DECL.
141    The attributes in ATTRIBUTES have previously been assigned to DECL.  */
142 extern int i386_pe_valid_decl_attribute_p ();
143
144 #undef VALID_MACHINE_DECL_ATTRIBUTE
145 #define VALID_MACHINE_DECL_ATTRIBUTE(DECL, ATTRIBUTES, IDENTIFIER, ARGS) \
146   i386_pe_valid_decl_attribute_p (DECL, ATTRIBUTES, IDENTIFIER, ARGS)
147
148 /* A C expression whose value is nonzero if IDENTIFIER with arguments ARGS
149    is a valid machine specific attribute for TYPE.
150    The attributes in ATTRIBUTES have previously been assigned to TYPE.  */
151
152 #undef VALID_MACHINE_TYPE_ATTRIBUTE
153 #define VALID_MACHINE_TYPE_ATTRIBUTE(TYPE, ATTRIBUTES, IDENTIFIER, ARGS) \
154   i386_pe_valid_type_attribute_p (TYPE, ATTRIBUTES, IDENTIFIER, ARGS)
155 extern int i386_pe_valid_type_attribute_p ();
156
157 extern union tree_node *i386_pe_merge_decl_attributes ();
158 #define MERGE_MACHINE_DECL_ATTRIBUTES(OLD, NEW) \
159   i386_pe_merge_decl_attributes ((OLD), (NEW))
160
161 /* Used to implement dllexport overriding dllimport semantics.  It's also used
162    to handle vtables - the first pass won't do anything because
163    DECL_CONTEXT (DECL) will be 0 so i386_pe_dll{ex,im}port_p will return 0.
164    It's also used to handle dllimport override semantics.  */
165 #if 0
166 #define REDO_SECTION_INFO_P(DECL) \
167   ((DECL_MACHINE_ATTRIBUTES (DECL) != NULL_TREE) \
168    || (TREE_CODE (DECL) == VAR_DECL && DECL_VIRTUAL_P (DECL)))
169 #else
170 #define REDO_SECTION_INFO_P(DECL) 1
171 #endif
172
173 \f
174 #undef EXTRA_SECTIONS
175 #define EXTRA_SECTIONS in_ctor, in_dtor, in_drectve
176
177 #undef EXTRA_SECTION_FUNCTIONS
178 #define EXTRA_SECTION_FUNCTIONS                                 \
179   CTOR_SECTION_FUNCTION                                         \
180   DTOR_SECTION_FUNCTION                                         \
181   DRECTVE_SECTION_FUNCTION                                      \
182   SWITCH_TO_SECTION_FUNCTION
183
184 #define CTOR_SECTION_FUNCTION                                   \
185 void                                                            \
186 ctor_section ()                                                 \
187 {                                                               \
188   if (in_section != in_ctor)                                    \
189     {                                                           \
190       fprintf (asm_out_file, "\t.section .ctor\n");             \
191       in_section = in_ctor;                                     \
192     }                                                           \
193 }
194
195 #define DTOR_SECTION_FUNCTION                                   \
196 void                                                            \
197 dtor_section ()                                                 \
198 {                                                               \
199   if (in_section != in_dtor)                                    \
200     {                                                           \
201       fprintf (asm_out_file, "\t.section .dtor\n");             \
202       in_section = in_dtor;                                     \
203     }                                                           \
204 }
205
206 #define DRECTVE_SECTION_FUNCTION \
207 void                                                                    \
208 drectve_section ()                                                      \
209 {                                                                       \
210   if (in_section != in_drectve)                                         \
211     {                                                                   \
212       fprintf (asm_out_file, "%s\n", "\t.section .drectve\n");          \
213       in_section = in_drectve;                                          \
214     }                                                                   \
215 }
216
217 /* Switch to SECTION (an `enum in_section').
218
219    ??? This facility should be provided by GCC proper.
220    The problem is that we want to temporarily switch sections in
221    ASM_DECLARE_OBJECT_NAME and then switch back to the original section
222    afterwards.  */
223 #define SWITCH_TO_SECTION_FUNCTION                              \
224 void                                                            \
225 switch_to_section (section, decl)                               \
226      enum in_section section;                                   \
227      tree decl;                                                 \
228 {                                                               \
229   switch (section)                                              \
230     {                                                           \
231       case in_text: text_section (); break;                     \
232       case in_data: data_section (); break;                     \
233       case in_named: named_section (decl, NULL, 0); break;      \
234       case in_ctor: ctor_section (); break;                     \
235       case in_dtor: dtor_section (); break;                     \
236       case in_drectve: drectve_section (); break;               \
237       default: abort (); break;                                 \
238     }                                                           \
239 }
240
241 #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME)       \
242   do {                                          \
243     ctor_section ();                            \
244     fprintf (FILE, "%s\t", ASM_LONG);           \
245     assemble_name (FILE, NAME);                 \
246     fprintf (FILE, "\n");                       \
247   } while (0)
248
249 #define ASM_OUTPUT_DESTRUCTOR(FILE,NAME)        \
250   do {                                          \
251     dtor_section ();                            \
252     fprintf (FILE, "%s\t", ASM_LONG);           \
253     assemble_name (FILE, NAME);                 \
254     fprintf (FILE, "\n");                       \
255   } while (0)
256
257 /* Don't allow flag_pic to propagate since gas may produce invalid code
258    otherwise. */
259
260 #undef  SUBTARGET_OVERRIDE_OPTIONS
261 #define SUBTARGET_OVERRIDE_OPTIONS                                      \
262 do {                                                                    \
263   if (flag_pic)                                                         \
264     {                                                                   \
265       warning ("-f%s ignored for target (all code is position independent)",\
266                (flag_pic > 1) ? "PIC" : "pic");                         \
267       flag_pic = 0;                                                     \
268     }                                                                   \
269 } while (0)                                                             \
270
271 /* Define this macro if references to a symbol must be treated
272    differently depending on something about the variable or
273    function named by the symbol (such as what section it is in).
274
275    On i386 running Windows NT, modify the assembler name with a suffix 
276    consisting of an atsign (@) followed by string of digits that represents
277    the number of bytes of arguments passed to the function, if it has the 
278    attribute STDCALL.
279
280    In addition, we must mark dll symbols specially. Definitions of 
281    dllexport'd objects install some info in the .drectve section.  
282    References to dllimport'd objects are fetched indirectly via
283    _imp__.  If both are declared, dllexport overrides.  This is also 
284    needed to implement one-only vtables: they go into their own
285    section and we need to set DECL_SECTION_NAME so we do that here.
286    Note that we can be called twice on the same decl.  */
287
288 extern void i386_pe_encode_section_info ();
289
290 #ifdef ENCODE_SECTION_INFO
291 #undef ENCODE_SECTION_INFO
292 #endif
293 #define ENCODE_SECTION_INFO(DECL) i386_pe_encode_section_info (DECL)
294
295 /* Utility used only in this file.  */
296 #define I386_PE_STRIP_ENCODING(SYM_NAME) \
297   ((SYM_NAME) + ((SYM_NAME)[0] == '@' ? 3 : 0))
298
299 /* This macro gets just the user-specified name
300    out of the string in a SYMBOL_REF.  Discard
301    trailing @[NUM] encoded by ENCODE_SECTION_INFO.  */
302 #undef  STRIP_NAME_ENCODING
303 #define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME)                            \
304 do {                                                                    \
305   const char *_p;                                                       \
306   const char *_name = I386_PE_STRIP_ENCODING (SYMBOL_NAME);             \
307   for (_p = _name; *_p && *_p != '@'; ++_p)                             \
308     ;                                                                   \
309   if (*_p == '@')                                                       \
310     {                                                                   \
311       int _len = _p - _name;                                            \
312       char *_new_name = (char *) alloca (_len + 1);                     \
313       strncpy (_new_name, _name, _len);                                 \
314       _new_name[_len] = '\0';                                           \
315       (VAR) = _new_name;                                                \
316     }                                                                   \
317   else                                                                  \
318     (VAR) = _name;                                                      \
319 } while (0)
320       
321 \f
322 /* Output a reference to a label.  */
323 #undef ASM_OUTPUT_LABELREF
324 #define ASM_OUTPUT_LABELREF(STREAM, NAME)               \
325   fprintf (STREAM, "%s%s", USER_LABEL_PREFIX,           \
326            I386_PE_STRIP_ENCODING (NAME))               \
327
328 /* Output a common block.  */
329 #undef ASM_OUTPUT_COMMON
330 #define ASM_OUTPUT_COMMON(STREAM, NAME, SIZE, ROUNDED)  \
331 do {                                                    \
332   if (i386_pe_dllexport_name_p (NAME))                  \
333     i386_pe_record_exported_symbol (NAME, 1);           \
334   if (! i386_pe_dllimport_name_p (NAME))                \
335     {                                                   \
336       fprintf ((STREAM), "\t.comm\t");                  \
337       assemble_name ((STREAM), (NAME));                 \
338       fprintf ((STREAM), ", %d\t%s %d\n",               \
339                (ROUNDED), ASM_COMMENT_START, (SIZE));   \
340     }                                                   \
341 } while (0)
342
343 /* Output the label for an initialized variable.  */
344 #undef ASM_DECLARE_OBJECT_NAME
345 #define ASM_DECLARE_OBJECT_NAME(STREAM, NAME, DECL)     \
346 do {                                                    \
347   if (i386_pe_dllexport_name_p (NAME))                  \
348     i386_pe_record_exported_symbol (NAME, 1);           \
349   ASM_OUTPUT_LABEL ((STREAM), (NAME));                  \
350 } while (0)
351
352 \f
353 /* Emit code to check the stack when allocating more that 4000
354    bytes in one go. */
355
356 #define CHECK_STACK_LIMIT 4000
357
358 /* By default, target has a 80387, uses IEEE compatible arithmetic,
359    and returns float values in the 387 and needs stack probes */
360 #undef TARGET_DEFAULT
361
362 #define TARGET_DEFAULT \
363    (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_STACK_PROBE) 
364
365 /* This is how to output an assembler line
366    that says to advance the location counter
367    to a multiple of 2**LOG bytes.  */
368
369 #undef ASM_OUTPUT_ALIGN
370 #define ASM_OUTPUT_ALIGN(FILE,LOG)      \
371     if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", 1<<(LOG))
372
373 /* Define this macro if in some cases global symbols from one translation
374    unit may not be bound to undefined symbols in another translation unit
375    without user intervention.  For instance, under Microsoft Windows
376    symbols must be explicitly imported from shared libraries (DLLs).  */
377 #define MULTIPLE_SYMBOL_SPACES
378
379 #define UNIQUE_SECTION_P(DECL) DECL_ONE_ONLY (DECL)
380 extern void i386_pe_unique_section ();
381 #define UNIQUE_SECTION(DECL,RELOC) i386_pe_unique_section (DECL, RELOC)
382
383 #define SUPPORTS_ONE_ONLY 1
384
385 /* A C statement to output something to the assembler file to switch to section
386    NAME for object DECL which is either a FUNCTION_DECL, a VAR_DECL or
387    NULL_TREE.  Some target formats do not support arbitrary sections.  Do not
388    define this macro in such cases.  */
389 #undef ASM_OUTPUT_SECTION_NAME
390 #define ASM_OUTPUT_SECTION_NAME(STREAM, DECL, NAME, RELOC)              \
391 do {                                                                    \
392   static struct section_info                                            \
393     {                                                                   \
394       struct section_info *next;                                        \
395       char *name;                                                       \
396       enum sect_enum {SECT_RW, SECT_RO, SECT_EXEC} type;                \
397     } *sections;                                                        \
398   struct section_info *s;                                               \
399   const char *mode;                                                     \
400   enum sect_enum type;                                                  \
401                                                                         \
402   for (s = sections; s; s = s->next)                                    \
403     if (!strcmp (NAME, s->name))                                        \
404       break;                                                            \
405                                                                         \
406   if (DECL && TREE_CODE (DECL) == FUNCTION_DECL)                        \
407     type = SECT_EXEC, mode = "x";                                       \
408   else if (DECL && DECL_READONLY_SECTION (DECL, RELOC))                 \
409     type = SECT_RO, mode = "";                                          \
410   else                                                                  \
411     {                                                                   \
412       type = SECT_RW;                                                   \
413       if (TREE_CODE (DECL) == VAR_DECL                                  \
414           && lookup_attribute ("shared", DECL_MACHINE_ATTRIBUTES (DECL))) \
415         mode = "ws";                                                    \
416       else                                                              \
417         mode = "w";                                                     \
418     }                                                                   \
419                                                                         \
420   if (s == 0)                                                           \
421     {                                                                   \
422       s = (struct section_info *) xmalloc (sizeof (struct section_info)); \
423       s->name = xmalloc ((strlen (NAME) + 1) * sizeof (*NAME));         \
424       strcpy (s->name, NAME);                                           \
425       s->type = type;                                                   \
426       s->next = sections;                                               \
427       sections = s;                                                     \
428       fprintf (STREAM, ".section\t%s,\"%s\"\n", NAME, mode);            \
429       /* Functions may have been compiled at various levels of          \
430          optimization so we can't use `same_size' here.  Instead,       \
431          have the linker pick one.  */                                  \
432       if ((DECL) && DECL_ONE_ONLY (DECL))                               \
433         fprintf (STREAM, "\t.linkonce %s\n",                            \
434                  TREE_CODE (DECL) == FUNCTION_DECL                      \
435                  ? "discard" : "same_size");                            \
436     }                                                                   \
437   else                                                                  \
438     {                                                                   \
439       fprintf (STREAM, ".section\t%s,\"%s\"\n", NAME, mode);            \
440     }                                                                   \
441 } while (0)
442
443 /* Write the extra assembler code needed to declare a function
444    properly.  If we are generating SDB debugging information, this
445    will happen automatically, so we only need to handle other cases.  */
446 #undef ASM_DECLARE_FUNCTION_NAME
447 #define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL)                     \
448   do                                                                    \
449     {                                                                   \
450       if (i386_pe_dllexport_name_p (NAME))                              \
451         i386_pe_record_exported_symbol (NAME, 0);                       \
452       if (write_symbols != SDB_DEBUG)                                   \
453         i386_pe_declare_function_type (FILE, NAME, TREE_PUBLIC (DECL)); \
454       ASM_OUTPUT_LABEL (FILE, NAME);                                    \
455     }                                                                   \
456   while (0)
457
458 /* Add an external function to the list of functions to be declared at
459    the end of the file.  */
460 #define ASM_OUTPUT_EXTERNAL(FILE, DECL, NAME)                           \
461   do                                                                    \
462     {                                                                   \
463       if (TREE_CODE (DECL) == FUNCTION_DECL)                            \
464         i386_pe_record_external_function (NAME);                        \
465     }                                                                   \
466   while (0)
467
468 /* Declare the type properly for any external libcall.  */
469 #define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN) \
470   i386_pe_declare_function_type (FILE, XSTR (FUN, 0), 1)
471
472 /* This says out to put a global symbol in the BSS section. */
473 #undef ASM_OUTPUT_ALIGNED_BSS
474 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
475   asm_output_aligned_bss ((FILE), (DECL), (NAME), (SIZE), (ALIGN))
476
477 /* Output function declarations at the end of the file.  */
478 #define ASM_FILE_END(FILE) \
479   i386_pe_asm_file_end (FILE)
480
481 #undef ASM_COMMENT_START
482 #define ASM_COMMENT_START " #"
483
484 /* DWARF2 Unwinding doesn't work with exception handling yet. */
485 #define DWARF2_UNWIND_INFO 0
486
487 /* Don't assume anything about the header files. */
488 #define NO_IMPLICIT_EXTERN_C
489
490 #define SUBTARGET_PROLOGUE                                              \
491   if (profile_flag                                                      \
492       && MAIN_NAME_P (DECL_NAME (current_function_decl)))               \
493      {                                                                  \
494       emit_call_insn (gen_rtx (CALL, VOIDmode,                          \
495         gen_rtx_MEM (FUNCTION_MODE,                                     \
496                      gen_rtx_SYMBOL_REF (Pmode, "_monstartup")),        \
497         const0_rtx));                                                   \
498      }
499
500 /* External function declarations.  */
501
502 #ifndef PARAMS
503 #if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__)
504 #define PARAMS(ARGS) ARGS
505 #else
506 #define PARAMS(ARGS) ()
507 #endif
508 #endif
509
510 #ifdef BUFSIZ           /* stdio.h has been included, ok to use FILE * */
511 #define STDIO_PARAMS(ARGS) PARAMS(ARGS)
512 #else
513 #define STDIO_PARAMS(ARGS) ()
514 #endif
515
516 extern void i386_pe_record_external_function PARAMS ((char *));
517 extern void i386_pe_declare_function_type STDIO_PARAMS ((FILE *, char *, int));
518 extern void i386_pe_record_exported_symbol PARAMS ((char *, int));
519 extern void i386_pe_asm_file_end STDIO_PARAMS ((FILE *));
520
521 /* For Win32 ABI compatibility */
522 #undef DEFAULT_PCC_STRUCT_RETURN
523 #define DEFAULT_PCC_STRUCT_RETURN 0
524
525 /* No data type wants to be aligned rounder than this.  */
526 #undef  BIGGEST_ALIGNMENT
527 #define BIGGEST_ALIGNMENT 128
528
529 /* A bitfield declared as `int' forces `int' alignment for the struct.  */
530 #undef PCC_BITFIELDS_TYPE_MATTERS
531 #define PCC_BITFIELDS_TYPE_MATTERS 0
532
533 /* Enable alias attribute support.  */
534 #ifndef SET_ASM_OP
535 #define SET_ASM_OP "\t.set\t"
536 #endif
537
538 #ifndef INT_ASM_OP
539 #define INT_ASM_OP "\t.long\t"
540 #endif
541