Commit 12c731a5 by Richard Kenner

(ASM_OUTPUT_CONSTRUCTOR): Add FILE arg to assemble_name.

From-SVN: r10195
parent a63c3ebc
...@@ -1247,12 +1247,12 @@ enum reg_class { NO_REGS, INDEX_REGS, BASE_REGS, ALL_REGS, LIM_REG_CLASSES }; ...@@ -1247,12 +1247,12 @@ enum reg_class { NO_REGS, INDEX_REGS, BASE_REGS, ALL_REGS, LIM_REG_CLASSES };
sprintf ((OUTPUT), "%s.%d", (NAME), (LABELNO))) sprintf ((OUTPUT), "%s.%d", (NAME), (LABELNO)))
#define ASM_OUTPUT_CONSTRUCTOR(FILE, NAME) do { \ #define ASM_OUTPUT_CONSTRUCTOR(FILE, NAME) do { \
fprintf(FILE, "\tinit\n\t"); assemble_name(NAME); \ fprintf(FILE, "\tinit\n\t"); assemble_name(FILE, NAME); \
fprintf(FILE," ;constructor"); } while (0) fprintf(FILE," ;constructor\n"); } while (0)
#define ASM_OUTPUT_DESTRUCTOR(FILE, NAME) do { \ #define ASM_OUTPUT_DESTRUCTOR(FILE, NAME) do { \
fprintf(FILE, "\tinit\n\t"); assemble_name(NAME); \ fprintf(FILE, "\t; ASM_OUTPUT_DESTRUCTOR called for "); \
fprintf(FILE," ;destructor"); } while (0) assemble_name(FILE, NAME); } while (0)
/* Define the parentheses used to group arithmetic operations /* Define the parentheses used to group arithmetic operations
in assembler code. */ in assembler code. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment