]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/config/sparc/sol2-sld-64.h
Move constructor/destructor handling into target hooks.
[gcc.git] / gcc / config / sparc / sol2-sld-64.h
index 9179635c6363ea9663aaf539edbe03c4a7cbcfd7..21545f2f84e19bde28eb444dec996d7185728020 100644 (file)
  
 #endif /* ! SPARC_BI_ARCH */
 
-/* A C statement (sans semicolon) to output an element in the table of
-   global constructors.  */
-#undef ASM_OUTPUT_CONSTRUCTOR
-#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME)                              \
-  do {                                                                 \
-    ctors_section ();                                                  \
-    if (TARGET_ARCH64)                                                 \
-      fprintf (FILE, "\t%s\t ", ASM_LONGLONG);                         \
-    else                                                               \
-      fprintf (FILE, "%s", INT_ASM_OP);                                        \
-    assemble_name (FILE, NAME);                                                \
-    fprintf (FILE, "\n");                                              \
-  } while (0)
-
-/* A C statement (sans semicolon) to output an element in the table of
-   global destructors.  */
-#undef ASM_OUTPUT_DESTRUCTOR
-#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME)                                       \
-  do {                                                                 \
-    dtors_section ();                                                  \
-    if (TARGET_ARCH64)                                                 \
-      fprintf (FILE, "\t%s\t ", ASM_LONGLONG);                         \
-    else                                                               \
-      fprintf (FILE, "%s", INT_ASM_OP);                                        \
-    assemble_name (FILE, NAME);                                        \
-    fprintf (FILE, "\n");                                              \
-  } while (0)
-
 #endif
This page took 0.025248 seconds and 5 git commands to generate.