This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to control when asm_out_file is printed
- From: Anders Ådland <adland at stud dot ntnu dot no>
- To: gcc at gcc dot gnu dot org
- Date: 07 Apr 2003 17:52:05 +0200
- Subject: How to control when asm_out_file is printed
In the prologue and epilogue I am generating a label like this:
(define_expand "prologue"
....
operands[0] = gen_label_rtx();
ASM_OUTPUT_INTERNAL_LABEL(asm_out_file, "L",
CODE_LABEL_NUMBER(operands[0]));
fprintf(asm_out_file, "\tdc32\t0x%08X\n", a_large_constant);
...
)
The label is later used to load a large constant into a register. The
label is printed above the function, but it has to be printed below. How
can I control where the label is printed?
Anders