OSDN Git Service

h
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Feb 1999 19:39:50 +0000 (19:39 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Feb 1999 19:39:50 +0000 (19:39 +0000)
        * config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
        (ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25351 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/aoutos.h

index e9caa71..6f4e262 100644 (file)
@@ -39,50 +39,3 @@ Boston, MA 02111-1307, USA.  */
 
 /* Define a symbol indicating that we are using aoutos.h.  */
 #define USING_AOUTOS_H
-
-/* A C statement (sans semicolon) to output an element in the table of
-   global constructors. 
-   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)
-
-
-/* A C statement (sans semicolon) to output an element in the table of
-   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)
-
-/* Likewise for entries we want to record for garbage collection.
-   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)