From: Jeff Law Date: Sun, 21 Feb 1999 19:39:50 +0000 (-0700) Subject: aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bd19d63fd0a9e579585119f8727f5835d870eac;p=gcc.git aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete. h * config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete. (ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise. From-SVN: r25351 --- diff --git a/gcc/config/aoutos.h b/gcc/config/aoutos.h index e9caa719905..6f4e2623c64 100644 --- a/gcc/config/aoutos.h +++ b/gcc/config/aoutos.h @@ -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)