This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]