linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.

* sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
        (ASM_OUTPUT_DESTRUCTOR): Define.

From-SVN: r27129
This commit is contained in:
Jakub Jelinek 1999-05-24 18:45:19 +02:00 committed by Richard Henderson
parent af7b990290
commit 9fc0706f3e
2 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
* sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
(ASM_OUTPUT_DESTRUCTOR): Define.
Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com) Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
* loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the

View File

@ -364,3 +364,25 @@ do { \
"ta 0x21\n\t" \ "ta 0x21\n\t" \
: /* no outputs */ \ : /* no outputs */ \
: "r" (ms_flags), "r" (ms_saveret)); : "r" (ms_flags), "r" (ms_saveret));
/* 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 (); \
fprintf (FILE, "\t%s\t ", TARGET_ARCH64 ? ASM_LONGLONG : 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 (); \
fprintf (FILE, "\t%s\t ", TARGET_ARCH64 ? ASM_LONGLONG : INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)