How to control when asm_out_file is printed

Anders Ådland adland@stud.ntnu.no
Mon Apr 7 17:33:00 GMT 2003


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



More information about the Gcc mailing list