system.h revision 117395
1/* Get common system includes and various definitions and declarations based
2   on autoconf macros.
3   Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify it under
8the terms of the GNU General Public License as published by the Free
9Software Foundation; either version 2, or (at your option) any later
10version.
11
12GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13WARRANTY; without even the implied warranty of MERCHANTABILITY or
14FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15for more details.
16
17You should have received a copy of the GNU General Public License
18along with GCC; see the file COPYING.  If not, write to the Free
19Software Foundation, 59 Temple Place - Suite 330, Boston, MA
2002111-1307, USA.  */
21
22
23#ifndef GCC_SYSTEM_H
24#define GCC_SYSTEM_H
25
26/* We must include stdarg.h/varargs.h before stdio.h.  */
27#ifdef ANSI_PROTOTYPES
28#include <stdarg.h>
29#else
30#include <varargs.h>
31#endif
32
33#ifndef va_copy
34# ifdef __va_copy
35#   define va_copy(d,s)  __va_copy((d),(s))
36# else
37#   define va_copy(d,s)  ((d) = (s))
38# endif
39#endif
40
41#ifdef HAVE_STDDEF_H
42# include <stddef.h>
43#endif
44
45#include <stdio.h>
46
47/* Define a generic NULL if one hasn't already been defined.  */
48#ifndef NULL
49#define NULL 0
50#endif
51
52/* The compiler is not a multi-threaded application and therefore we
53   do not have to use the locking functions.  In fact, using the locking
54   functions can cause the compiler to be significantly slower under
55   I/O bound conditions (such as -g -O0 on very large source files).
56
57   HAVE_DECL_PUTC_UNLOCKED actually indicates whether or not the stdio
58   code is multi-thread safe by default.  If it is set to 0, then do
59   not worry about using the _unlocked functions.
60
61   fputs_unlocked, fwrite_unlocked, and fprintf_unlocked are
62   extensions and need to be prototyped by hand (since we do not
63   define _GNU_SOURCE).  */
64
65#if defined HAVE_DECL_PUTC_UNLOCKED && HAVE_DECL_PUTC_UNLOCKED
66
67# ifdef HAVE_PUTC_UNLOCKED
68#  undef putc
69#  define putc(C, Stream) putc_unlocked (C, Stream)
70# endif
71# ifdef HAVE_FPUTC_UNLOCKED
72#  undef fputc
73#  define fputc(C, Stream) fputc_unlocked (C, Stream)
74# endif
75
76# ifdef HAVE_FPUTS_UNLOCKED
77#  undef fputs
78#  define fputs(String, Stream) fputs_unlocked (String, Stream)
79#  if defined (HAVE_DECL_FPUTS_UNLOCKED) && !HAVE_DECL_FPUTS_UNLOCKED
80extern int fputs_unlocked PARAMS ((const char *, FILE *));
81#  endif
82# endif
83# ifdef HAVE_FWRITE_UNLOCKED
84#  undef fwrite
85#  define fwrite(Ptr, Size, N, Stream) fwrite_unlocked (Ptr, Size, N, Stream)
86#  if defined (HAVE_DECL_FWRITE_UNLOCKED) && !HAVE_DECL_FWRITE_UNLOCKED
87extern int fwrite_unlocked PARAMS ((const PTR, size_t, size_t, FILE *));
88#  endif
89# endif
90# ifdef HAVE_FPRINTF_UNLOCKED
91#  undef fprintf
92/* We can't use a function-like macro here because we don't know if
93   we have varargs macros.  */
94#  define fprintf fprintf_unlocked
95#  if defined (HAVE_DECL_FPRINTF_UNLOCKED) && !HAVE_DECL_FPRINTF_UNLOCKED
96extern int fprintf_unlocked PARAMS ((FILE *, const char *, ...));
97#  endif
98# endif
99
100#endif
101
102/* There are an extraordinary number of issues with <ctype.h>.
103   The last straw is that it varies with the locale.  Use libiberty's
104   replacement instead.  */
105#include <safe-ctype.h>
106
107#include <sys/types.h>
108
109#include <errno.h>
110
111#if !defined (errno) && defined (HAVE_DECL_ERRNO) && !HAVE_DECL_ERRNO
112extern int errno;
113#endif
114
115#ifdef STRING_WITH_STRINGS
116# include <string.h>
117# include <strings.h>
118#else
119# ifdef HAVE_STRING_H
120#  include <string.h>
121# else
122#  ifdef HAVE_STRINGS_H
123#   include <strings.h>
124#  endif
125# endif
126#endif
127
128#ifdef HAVE_STDLIB_H
129# include <stdlib.h>
130#endif
131
132/* If we don't have an overriding definition, set SUCCESS_EXIT_CODE and
133   FATAL_EXIT_CODE to EXIT_SUCCESS and EXIT_FAILURE respectively,
134   or 0 and 1 if those macros are not defined.  */
135#ifndef SUCCESS_EXIT_CODE
136# ifdef EXIT_SUCCESS
137#  define SUCCESS_EXIT_CODE EXIT_SUCCESS
138# else
139#  define SUCCESS_EXIT_CODE 0
140# endif
141#endif
142
143#ifndef FATAL_EXIT_CODE
144# ifdef EXIT_FAILURE
145#  define FATAL_EXIT_CODE EXIT_FAILURE
146# else
147#  define FATAL_EXIT_CODE 1
148# endif
149#endif
150
151#ifdef HAVE_UNISTD_H
152# include <unistd.h>
153#endif
154
155#ifdef HAVE_SYS_PARAM_H
156# include <sys/param.h>
157/* We use this identifier later and it appears in some vendor param.h's.  */
158# undef PREFETCH
159#endif
160
161#if HAVE_LIMITS_H
162# include <limits.h>
163#endif
164
165/* Get definitions of HOST_WIDE_INT and HOST_WIDEST_INT.  */
166#include "hwint.h"
167
168/* A macro to determine whether a VALUE lies inclusively within a
169   certain range without evaluating the VALUE more than once.  This
170   macro won't warn if the VALUE is unsigned and the LOWER bound is
171   zero, as it would e.g. with "VALUE >= 0 && ...".  Note the LOWER
172   bound *is* evaluated twice, and LOWER must not be greater than
173   UPPER.  However the bounds themselves can be either positive or
174   negative.  */
175#define IN_RANGE(VALUE, LOWER, UPPER) \
176  ((unsigned HOST_WIDE_INT) ((VALUE) - (LOWER)) <= ((UPPER) - (LOWER)))
177
178/* Infrastructure for defining missing _MAX and _MIN macros.  Note that
179   macros defined with these cannot be used in #if.  */
180
181/* The extra casts work around common compiler bugs.  */
182#define INTTYPE_SIGNED(t) (! ((t) 0 < (t) -1))
183/* The outer cast is needed to work around a bug in Cray C 5.0.3.0.
184   It is necessary at least when t == time_t.  */
185#define INTTYPE_MINIMUM(t) ((t) (INTTYPE_SIGNED (t) \
186                             ? ~ (t) 0 << (sizeof(t) * CHAR_BIT - 1) : (t) 0))
187#define INTTYPE_MAXIMUM(t) ((t) (~ (t) 0 - INTTYPE_MINIMUM (t)))
188
189/* Use that infrastructure to provide a few constants.  */
190#ifndef UCHAR_MAX
191# define UCHAR_MAX INTTYPE_MAXIMUM (unsigned char)
192#endif
193
194#ifdef TIME_WITH_SYS_TIME
195# include <sys/time.h>
196# include <time.h>
197#else
198# if HAVE_SYS_TIME_H
199#  include <sys/time.h>
200# else
201#  ifdef HAVE_TIME_H
202#   include <time.h>
203#  endif
204# endif
205#endif
206
207#ifdef HAVE_FCNTL_H
208# include <fcntl.h>
209#else
210# ifdef HAVE_SYS_FILE_H
211#  include <sys/file.h>
212# endif
213#endif
214
215#ifndef SEEK_SET
216# define SEEK_SET 0
217# define SEEK_CUR 1
218# define SEEK_END 2
219#endif
220#ifndef F_OK
221# define F_OK 0
222# define X_OK 1
223# define W_OK 2
224# define R_OK 4
225#endif
226#ifndef O_RDONLY
227# define O_RDONLY 0
228#endif
229#ifndef O_WRONLY
230# define O_WRONLY 1
231#endif
232
233/* Some systems define these in, e.g., param.h.  We undefine these names
234   here to avoid the warnings.  We prefer to use our definitions since we
235   know they are correct.  */
236
237#undef MIN
238#undef MAX
239#define MIN(X,Y) ((X) < (Y) ? (X) : (Y))
240#define MAX(X,Y) ((X) > (Y) ? (X) : (Y))
241
242/* Returns the least number N such that N * Y >= X.  */
243#define CEIL(x,y) (((x) + (y) - 1) / (y))
244
245#ifdef HAVE_SYS_WAIT_H
246#include <sys/wait.h>
247#endif
248
249#ifndef WIFSIGNALED
250#define WIFSIGNALED(S) (((S) & 0xff) != 0 && ((S) & 0xff) != 0x7f)
251#endif
252#ifndef WTERMSIG
253#define WTERMSIG(S) ((S) & 0x7f)
254#endif
255#ifndef WIFEXITED
256#define WIFEXITED(S) (((S) & 0xff) == 0)
257#endif
258#ifndef WEXITSTATUS
259#define WEXITSTATUS(S) (((S) & 0xff00) >> 8)
260#endif
261#ifndef WSTOPSIG
262#define WSTOPSIG WEXITSTATUS
263#endif
264#ifndef WCOREDUMP
265#define WCOREDUMP(S) ((S) & WCOREFLG)
266#endif
267#ifndef WCOREFLG
268#define WCOREFLG 0200
269#endif
270
271/* The HAVE_DECL_* macros are three-state, undefined, 0 or 1.  If they
272   are defined to 0 then we must provide the relevant declaration
273   here.  These checks will be in the undefined state while configure
274   is running so be careful to test "defined (HAVE_DECL_*)".  */
275
276#if defined (HAVE_DECL_ATOF) && !HAVE_DECL_ATOF
277extern double atof PARAMS ((const char *));
278#endif
279
280#if defined (HAVE_DECL_ATOL) && !HAVE_DECL_ATOL
281extern long atol PARAMS ((const char *));
282#endif
283
284#if defined (HAVE_DECL_FREE) && !HAVE_DECL_FREE
285extern void free PARAMS ((PTR));
286#endif
287
288#if defined (HAVE_DECL_GETCWD) && !HAVE_DECL_GETCWD
289extern char *getcwd PARAMS ((char *, size_t));
290#endif
291
292#if defined (HAVE_DECL_GETENV) && !HAVE_DECL_GETENV
293extern char *getenv PARAMS ((const char *));
294#endif
295
296#if defined (HAVE_DECL_GETOPT) && !HAVE_DECL_GETOPT
297extern int getopt PARAMS ((int, char * const *, const char *));
298#endif
299
300#if defined (HAVE_DECL_GETWD) && !HAVE_DECL_GETWD
301extern char *getwd PARAMS ((char *));
302#endif
303
304#if defined (HAVE_DECL_SBRK) && !HAVE_DECL_SBRK
305extern PTR sbrk PARAMS ((int));
306#endif
307
308#if defined (HAVE_DECL_STRSTR) && !HAVE_DECL_STRSTR
309extern char *strstr PARAMS ((const char *, const char *));
310#endif
311
312#ifdef HAVE_MALLOC_H
313#include <malloc.h>
314#endif
315
316#if defined (HAVE_DECL_MALLOC) && !HAVE_DECL_MALLOC
317extern PTR malloc PARAMS ((size_t));
318#endif
319
320#if defined (HAVE_DECL_CALLOC) && !HAVE_DECL_CALLOC
321extern PTR calloc PARAMS ((size_t, size_t));
322#endif
323
324#if defined (HAVE_DECL_REALLOC) && !HAVE_DECL_REALLOC
325extern PTR realloc PARAMS ((PTR, size_t));
326#endif
327
328/* If the system doesn't provide strsignal, we get it defined in
329   libiberty but no declaration is supplied.  */
330#ifndef HAVE_STRSIGNAL
331# ifndef strsignal
332extern const char *strsignal PARAMS ((int));
333# endif
334#endif
335
336#ifdef HAVE_GETRLIMIT
337# if defined (HAVE_DECL_GETRLIMIT) && !HAVE_DECL_GETRLIMIT
338#  ifndef getrlimit
339#   ifdef ANSI_PROTOTYPES
340struct rlimit;
341#   endif
342extern int getrlimit PARAMS ((int, struct rlimit *));
343#  endif
344# endif
345#endif
346
347#ifdef HAVE_SETRLIMIT
348# if defined (HAVE_DECL_SETRLIMIT) && !HAVE_DECL_SETRLIMIT
349#  ifndef setrlimit
350#   ifdef ANSI_PROTOTYPES
351struct rlimit;
352#   endif
353extern int setrlimit PARAMS ((int, const struct rlimit *));
354#  endif
355# endif
356#endif
357
358/* HAVE_VOLATILE only refers to the stage1 compiler.  We also check
359   __STDC__ and assume gcc sets it and has volatile in stage >=2.  */
360#if !defined(HAVE_VOLATILE) && !defined(__STDC__) && !defined(volatile)
361#define volatile
362#endif
363
364#if defined (HAVE_DECL_ABORT) && !HAVE_DECL_ABORT
365extern void abort PARAMS ((void));
366#endif
367
368/* 1 if we have C99 designated initializers.  */
369#if !defined(HAVE_DESIGNATED_INITIALIZERS)
370#define HAVE_DESIGNATED_INITIALIZERS \
371  ((GCC_VERSION >= 2007) || (__STDC_VERSION__ >= 199901L))
372#endif
373
374/* 1 if we have _Bool.  */
375#ifndef HAVE__BOOL
376# define HAVE__BOOL \
377   ((GCC_VERSION >= 3000) || (__STDC_VERSION__ >= 199901L))
378#endif
379
380
381#if HAVE_SYS_STAT_H
382# include <sys/stat.h>
383#endif
384
385/* Test if something is a normal file.  */
386#ifndef S_ISREG
387#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
388#endif
389
390/* Test if something is a directory.  */
391#ifndef S_ISDIR
392#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
393#endif
394
395/* Test if something is a character special file.  */
396#ifndef S_ISCHR
397#define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
398#endif
399
400/* Test if something is a block special file.  */
401#ifndef S_ISBLK
402#define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
403#endif
404
405/* Test if something is a socket.  */
406#ifndef S_ISSOCK
407# ifdef S_IFSOCK
408#   define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
409# else
410#   define S_ISSOCK(m) 0
411# endif
412#endif
413
414/* Test if something is a FIFO.  */
415#ifndef S_ISFIFO
416# ifdef S_IFIFO
417#  define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
418# else
419#  define S_ISFIFO(m) 0
420# endif
421#endif
422
423/* Approximate O_NONBLOCK.  */
424#ifndef O_NONBLOCK
425#define O_NONBLOCK O_NDELAY
426#endif
427
428/* Approximate O_NOCTTY.  */
429#ifndef O_NOCTTY
430#define O_NOCTTY 0
431#endif
432
433/* Define well known filenos if the system does not define them.  */
434#ifndef STDIN_FILENO
435# define STDIN_FILENO   0
436#endif
437#ifndef STDOUT_FILENO
438# define STDOUT_FILENO  1
439#endif
440#ifndef STDERR_FILENO
441# define STDERR_FILENO  2
442#endif
443
444/* Some systems have mkdir that takes a single argument.  */
445#ifdef MKDIR_TAKES_ONE_ARG
446# define mkdir(a,b) mkdir(a)
447#endif
448
449/* Provide a way to print an address via printf.  */
450#ifndef HOST_PTR_PRINTF
451# ifdef HAVE_PRINTF_PTR
452#  define HOST_PTR_PRINTF "%p"
453# else
454#  define HOST_PTR_PRINTF \
455    (sizeof (int) == sizeof (char *) ? "%x" \
456     : sizeof (long) == sizeof (char *) ? "%lx" : "%llx")
457# endif
458#endif /* ! HOST_PTR_PRINTF */
459
460/* By default, colon separates directories in a path.  */
461#ifndef PATH_SEPARATOR
462#define PATH_SEPARATOR ':'
463#endif
464
465#ifndef DIR_SEPARATOR
466#define DIR_SEPARATOR '/'
467#endif
468
469/* Define IS_DIR_SEPARATOR.  */
470#ifndef DIR_SEPARATOR_2
471# define IS_DIR_SEPARATOR(CH) ((CH) == DIR_SEPARATOR)
472#else /* DIR_SEPARATOR_2 */
473# define IS_DIR_SEPARATOR(CH) \
474	(((CH) == DIR_SEPARATOR) || ((CH) == DIR_SEPARATOR_2))
475#endif /* DIR_SEPARATOR_2 */
476
477/* Say how to test for an absolute pathname.  On Unix systems, this is if
478   it starts with a leading slash or a '$', the latter meaning the value of
479   an environment variable is to be used.  On machien with DOS-based
480   file systems, it is also absolute if it starts with a drive identifier.  */
481#ifdef HAVE_DOS_BASED_FILE_SYSTEM
482#define IS_ABSOLUTE_PATHNAME(STR) \
483  (IS_DIR_SEPARATOR ((STR)[0]) || (STR)[0] == '$' \
484   || ((STR)[0] != '\0' && (STR)[1] == ':' && IS_DIR_SEPARATOR ((STR)[2])))
485#else
486#define IS_ABSOLUTE_PATHNAME(STR) \
487  (IS_DIR_SEPARATOR ((STR)[0]) || (STR)[0] == '$')
488#endif
489
490/* Get libiberty declarations.  */
491#include "libiberty.h"
492#include "symcat.h"
493
494/* Provide a default for the HOST_BIT_BUCKET.
495   This suffices for POSIX-like hosts.  */
496
497#ifndef HOST_BIT_BUCKET
498#define HOST_BIT_BUCKET "/dev/null"
499#endif
500
501/* Be conservative and only use enum bitfields with GCC.
502   FIXME: provide a complete autoconf test for buggy enum bitfields.  */
503
504#if (GCC_VERSION > 2000)
505#define ENUM_BITFIELD(TYPE) enum TYPE
506#else
507#define ENUM_BITFIELD(TYPE) unsigned int
508#endif
509
510#ifndef offsetof
511#define offsetof(TYPE, MEMBER)	((size_t) &((TYPE *) 0)->MEMBER)
512#endif
513
514/* Traditional C cannot initialize union members of structs.  Provide
515   a macro which expands appropriately to handle it.  This only works
516   if you intend to initialize the union member to zero since it relies
517   on default initialization to zero in the traditional C case.  */
518#ifdef __STDC__
519#define UNION_INIT_ZERO , {0}
520#else
521#define UNION_INIT_ZERO
522#endif
523
524/* Various error reporting routines want to use __FUNCTION__.  */
525#if (GCC_VERSION < 2007)
526#ifndef __FUNCTION__
527#define __FUNCTION__ "?"
528#endif /* ! __FUNCTION__ */
529#endif
530
531/* __builtin_expect(A, B) evaluates to A, but notifies the compiler that
532   the most likely value of A is B.  This feature was added at some point
533   between 2.95 and 3.0.  Let's use 3.0 as the lower bound for now.  */
534#if (GCC_VERSION < 3000)
535#define __builtin_expect(a, b) (a)
536#endif
537
538/* Provide some sort of boolean type.  We use stdbool.h if it's
539  available.  This must be after all inclusion of system headers,
540  as some of them will mess us up.  */
541#undef bool
542#undef true
543#undef false
544#undef TRUE
545#undef FALSE
546
547#ifdef HAVE_STDBOOL_H
548# include <stdbool.h>
549#else
550# if !HAVE__BOOL
551typedef char _Bool;
552# endif
553# define bool _Bool
554# define true 1
555# define false 0
556#endif
557
558#define TRUE true
559#define FALSE false
560
561/* As the last action in this file, we poison the identifiers that
562   shouldn't be used.  Note, luckily gcc-3.0's token-based integrated
563   preprocessor won't trip on poisoned identifiers that arrive from
564   the expansion of macros.  E.g. #define strrchr rindex, won't error
565   if rindex is poisoned after this directive is issued and later on
566   strrchr is called.
567
568   Note: We define bypass macros for the few cases where we really
569   want to use the libc memory allocation routines.  Otherwise we
570   insist you use the "x" versions from libiberty.  */
571
572#define really_call_malloc malloc
573#define really_call_calloc calloc
574#define really_call_realloc realloc
575
576#if (GCC_VERSION >= 3000)
577
578/* Note autoconf checks for prototype declarations and includes
579   system.h while doing so.  Only poison these tokens if actually
580   compiling gcc, so that the autoconf declaration tests for malloc
581   etc don't spuriously fail.  */
582#ifdef IN_GCC
583#undef calloc
584#undef strdup
585 #pragma GCC poison calloc strdup
586
587#if defined(FLEX_SCANNER) || defined (YYBISON)
588/* Flex and bison use malloc and realloc.  Yuk.  */
589#define malloc xmalloc
590#define realloc xrealloc
591#else
592#undef malloc
593#undef realloc
594 #pragma GCC poison malloc realloc
595#endif
596
597/* Old target macros that have moved to the target hooks structure.  */
598 #pragma GCC poison ASM_OPEN_PAREN ASM_CLOSE_PAREN			\
599	FUNCTION_PROLOGUE FUNCTION_EPILOGUE				\
600	FUNCTION_END_PROLOGUE FUNCTION_BEGIN_EPILOGUE			\
601	DECL_MACHINE_ATTRIBUTES COMP_TYPE_ATTRIBUTES INSERT_ATTRIBUTES	\
602	VALID_MACHINE_DECL_ATTRIBUTE VALID_MACHINE_TYPE_ATTRIBUTE	\
603	SET_DEFAULT_TYPE_ATTRIBUTES SET_DEFAULT_DECL_ATTRIBUTES		\
604	MERGE_MACHINE_TYPE_ATTRIBUTES MERGE_MACHINE_DECL_ATTRIBUTES	\
605	MD_INIT_BUILTINS MD_EXPAND_BUILTIN ASM_OUTPUT_CONSTRUCTOR	\
606	ASM_OUTPUT_DESTRUCTOR SIGNED_CHAR_SPEC MAX_CHAR_TYPE_SIZE	\
607	WCHAR_UNSIGNED UNIQUE_SECTION SELECT_SECTION SELECT_RTX_SECTION	\
608	ENCODE_SECTION_INFO STRIP_NAME_ENCODING ASM_GLOBALIZE_LABEL	\
609	ASM_OUTPUT_MI_THUNK
610
611/* Other obsolete target macros, or macros that used to be in target
612   headers and were not used, and may be obsolete or may never have
613   been used.  */
614 #pragma GCC poison INT_ASM_OP ASM_OUTPUT_EH_REGION_BEG			   \
615	ASM_OUTPUT_EH_REGION_END ASM_OUTPUT_LABELREF_AS_INT		   \
616	DOESNT_NEED_UNWINDER EH_TABLE_LOOKUP OBJC_SELECTORS_WITHOUT_LABELS \
617	OMIT_EH_TABLE EASY_DIV_EXPR IMPLICIT_FIX_EXPR			   \
618	LONGJMP_RESTORE_FROM_STACK MAX_INT_TYPE_SIZE ASM_IDENTIFY_GCC	   \
619	STDC_VALUE TRAMPOLINE_ALIGN ASM_IDENTIFY_GCC_AFTER_SOURCE	   \
620	SLOW_ZERO_EXTEND SUBREG_REGNO_OFFSET DWARF_LINE_MIN_INSTR_LENGTH   \
621	TRADITIONAL_RETURN_FLOAT NO_BUILTIN_SIZE_TYPE			   \
622	NO_BUILTIN_PTRDIFF_TYPE NO_BUILTIN_WCHAR_TYPE NO_BUILTIN_WINT_TYPE \
623	BLOCK_PROFILER BLOCK_PROFILER_CODE FUNCTION_BLOCK_PROFILER	   \
624	FUNCTION_BLOCK_PROFILER_EXIT MACHINE_STATE_SAVE			   \
625	MACHINE_STATE_RESTORE SCCS_DIRECTIVE SECTION_ASM_OP		   \
626	ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL
627
628/* Hooks that are no longer used.  */
629 #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE	\
630	LANG_HOOKS_MARK_TREE
631
632#endif /* IN_GCC */
633
634/* Note: not all uses of the `index' token (e.g. variable names and
635   structure members) have been eliminated.  */
636#undef bcopy
637#undef bzero
638#undef bcmp
639#undef rindex
640 #pragma GCC poison bcopy bzero bcmp rindex
641
642#endif /* GCC >= 3.0 */
643
644#endif /* ! GCC_SYSTEM_H */
645