Commit d7a58f30 by Jim Wilson

(mips_asm_file_start): Add comment on TARGET_GP_OPT code.

From-SVN: r6858
parent 4635f748
......@@ -4064,6 +4064,13 @@ mips_asm_file_start (stream)
/* ??? but do not want this (or want pic0) if -non-shared? */
fprintf (stream, "\t%s\n", ABICALLS_ASM_OP);
/* This code exists so that we can put all externs before all symbol
references. This is necessary for the assembler's global pointer
optimizations to work. */
/* ??? Current versions of gas do not require that externs occur before
symbol references. This means that this code is unnecessary when
gas is being used. This gas feature hasn't been well tested as yet
though. */
if (TARGET_GP_OPT)
{
asm_out_data_file = stream;
......
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