This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.
flag_gnu_linker is now handled by the backend. I guess those macros in
config/aoutos.h are left over from some very old code.
--
H.J. Lu (hjl@gnu.org)
---
Sun Feb 21 11:57:37 1999 H.J. Lu (hjl@gnu.org)
* config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Undef.
(ASM_OUTPUT_DESTRUCTOR): Likewise.
(ASM_OUTPUT_GC_ENTRY): Likewise.
--- ../../../import/egcs/gcc/config/aoutos.h Mon Aug 11 08:57:15 1997
+++ config/aoutos.h Sun Feb 21 10:50:54 1999
@@ -1,6 +1,6 @@
/* aoutos.h -- operating system specific defines to be used when
targeting GCC for some system that uses a.out file format.
- Copyright (C) 1992 Free Software Foundation, Inc.
+ Copyright (C) 1992-98, 1999 Free Software Foundation, Inc.
Written by Ron Guilmette (rfg@netcom.com).
@@ -45,44 +45,19 @@
If using GNU LD, tell it that this is part of the static destructor set.
This code works for any machine provided you use GNU as/ld.
If not using GNU LD, rely on a "collect" program to look for names defined
- in the particular form we choose as global constructor function names. */
-
-#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \
- do { \
- if (flag_gnu_linker) \
- { \
- /* Output an N_SETT (0x16, 22.) for the name. */ \
- fprintf (FILE, "%s \"___CTOR_LIST__\",22,0,0,", ASM_STABS_OP); \
- assemble_name (FILE, NAME); \
- fputc ('\n', FILE); \
- } \
- } while (0)
+ in the particular form we choose as global constructor function names.
+ Removed. It is handled by the backend. */
+#undef ASM_OUTPUT_CONSTRUCTOR
/* A C statement (sans semicolon) to output an element in the table of
- global destructors. */
+ global destructors.
-#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \
- do { \
- if (flag_gnu_linker) \
- { \
- /* Output an N_SETT (0x16, 22.) for the name. */ \
- fprintf (FILE, "%s \"___DTOR_LIST__\",22,0,0,", ASM_STABS_OP); \
- assemble_name (FILE, NAME); \
- fputc ('\n', FILE); \
- } \
- } while (0)
+ Removed. It is handled by the backend. */
+#undef ASM_OUTPUT_DESTRUCTOR
/* Likewise for entries we want to record for garbage collection.
- Garbage collection is still under development. */
+ Garbage collection is still under development.
-#define ASM_OUTPUT_GC_ENTRY(FILE,NAME) \
- do { \
- if (flag_gnu_linker) \
- { \
- /* Output an N_SETT (0x16, 22.) for the name. */ \
- fprintf (FILE, "%s \"___PTR_LIST__\",22,0,0,", ASM_STABS_OP); \
- assemble_name (FILE, NAME); \
- fputc ('\n', FILE); \
- } \
- } while (0)
+ Removed. It is handled by the backend. */
+#undef ASM_OUTPUT_GC_ENTRY