* config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
* tm.texi (EXIT_BODY): Update documentation.
* config/freebsd.h, config/netware.h, config/arm/coff.h,
config/arm/conix-elf.h, config/arm/unknown-elf.h,
config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
commented out) and associated comments.
f:
* com.c [VMS]: Remove definition of BSTRING.
From-SVN: r38370
+2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
+ * tm.texi (EXIT_BODY): Update documentation.
+ * config/freebsd.h, config/netware.h, config/arm/coff.h,
+ config/arm/conix-elf.h, config/arm/unknown-elf.h,
+ config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
+ sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
+ commented out) and associated comments.
+
2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
* c-common.c (STD_C9L, ADJ_STD): Define.
# Common parts for GNU/Linux, GNU/Hurd and OpenBSD systems.
case $machine in
*-*-linux*)
- xm_defines="HAVE_ATEXIT POSIX BSTRING"
+ xm_defines="POSIX"
;;
*-*-gnu*)
# On the Hurd, the setup is just about the same on
#undef DO_GLOBAL_CTORS_BODY
#undef DO_GLOBAL_DTORS_BODY
-/* If you don't define HAVE_ATEXIT, and the object file format/OS/whatever
- does not support constructors/destructors, then gcc implements destructors
- by defining its own exit function, which calls the destructors. This gcc
- exit function overrides the C library's exit function, and this can cause
- all kinds of havoc if the C library has a non-trivial exit function. You
- really don't want to use the exit function in libgcc2.c. */
-#define HAVE_ATEXIT
-
/* The ARM development system defines __main. */
#define NAME__MAIN "__gccmain"
#define SYMBOL__MAIN __gccmain
#define TARGET_VERSION fputs (" (ARM/ELF ConiX)", stderr);
#endif
-/* If you don't define HAVE_ATEXIT, and the object file format/OS/whatever
- does not support constructors/destructors, then gcc implements destructors
- by defining its own exit function, which calls the destructors. This gcc
- exit function overrides the C library's exit function, and this can cause
- all kinds of havoc if the C library has a non-trivial exit function. You
- really don't want to use the exit function in libgcc2.c. */
-#define HAVE_ATEXIT
-
/* Default to using APCS-32 and software floating point. */
#ifndef TARGET_DEFAULT
#define TARGET_DEFAULT (ARM_FLAG_SOFT_FLOAT | ARM_FLAG_APCS_32)
#define TARGET_VERSION fputs (" (ARM/ELF non-Linux)", stderr);
#endif
-/* If you don't define HAVE_ATEXIT, and the object file format/OS/whatever
- does not support constructors/destructors, then gcc implements destructors
- by defining its own exit function, which calls the destructors. This gcc
- exit function overrides the C library's exit function, and this can cause
- all kinds of havoc if the C library has a non-trivial exit function. You
- really don't want to use the exit function in libgcc2.c. */
-#define HAVE_ATEXIT
-
/* Default to using APCS-32 and software floating point. */
#ifndef TARGET_DEFAULT
#define TARGET_DEFAULT (ARM_FLAG_SOFT_FLOAT | ARM_FLAG_APCS_32 | ARM_FLAG_APCS_FRAME)
`main'. */
/* #define DEFAULT_MAIN_RETURN */
-/* Define this if the target system supports the function `atexit' from the
- ANSI C standard. If this is not defined, and `INIT_SECTION_ASM_OP' is not
- defined, a default `exit' function will be provided to support C++.
-
- Defined by svr4.h */
-/* #define HAVE_ATEXIT */
-
/* Define this if your `exit' function needs to do something besides calling an
external function `_cleanup' before terminating with `_exit'. The
`EXIT_BODY' macro is only needed if netiher `HAVE_ATEXIT' nor
/* Handle #pragma weak and #pragma pack. */
#define HANDLE_SYSV_PRAGMA
-
-/* Tell libgcc2.c that FreeBSD targets support atexit(3). */
-#define HAVE_ATEXIT
#define WORD_REGISTER_OPERATIONS
-/* Provided in ANSI C MCore libraries. */
-#undef HAVE_ATEXIT
-#define HAVE_ATEXIT 1
-
/* Implicit library calls should use memcpy, not bcopy, etc. */
#define TARGET_MEM_FUNCTIONS
/* netware.h -- operating system specific defines to be used when
targeting GCC for some generic NetWare 4 system.
- Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 2000 Free Software Foundation, Inc.
Written by David V. Henkel-Wallace (gumby@cygnus.com)
EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, SELECT_SECTION, and
SELECT_RTX_SECTION. We do both here just to be on the safe side. */
-#define HAVE_ATEXIT
-
#undef HAS_INIT_SECTION
#undef INIT_SECTION_ASM_OP
PROMOTE_FUNCTION_RETURN does the same for function returns. */
#define PROMOTE_FUNCTION_ARGS
-/* For the sake of libgcc2.c, indicate target supports atexit. */
-#define HAVE_ATEXIT
-
\f
/* We can debug without a frame pointer. */
#define CAN_DEBUG_WITHOUT_FP
#include "sparc/sparc.h"
-#define HAVE_ATEXIT
-
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__sparc__ -D__sparclite86x__ -Acpu=sparc -Amachine=sparc"
+2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * com.c [VMS]: Remove definition of BSTRING.
+
2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
* g77.texi: Update GPL copy not to refer to years 19@var{yy}.
typedef struct { unsigned :16, :16, :16; } vms_ino_t;
#define ino_t vms_ino_t
#define INCLUDE_LEN_FUDGE 10 /* leave room for VMS syntax conversion */
-#ifdef __GNUC__
-#define BSTRING /* VMS/GCC supplies the bstring routines */
-#endif /* __GNUC__ */
#endif /* VMS */
#ifndef O_RDONLY
Define this if your @code{exit} function needs to do something
besides calling an external function @code{_cleanup} before
terminating with @code{_exit}. The @code{EXIT_BODY} macro is
-only needed if neither @code{HAVE_ATEXIT} nor
-@code{INIT_SECTION_ASM_OP} are defined.
+only needed if @code{NEED_ATEXIT} is defined and @code{ON_EXIT} is not
+defined.
@findex INSN_SETS_ARE_DELAYED
@item INSN_SETS_ARE_DELAYED (@var{insn})