(mips_asm_file_start): Use new macro TARGET_FILE_SWITCHING.
(mips_asm_file_end): Likewise. From-SVN: r14005
This commit is contained in:
parent
33b5e50b6a
commit
d46c6fcec2
|
@ -4564,13 +4564,9 @@ mips_asm_file_start (stream)
|
||||||
fprintf (stream, "\t.section\t.text\n");
|
fprintf (stream, "\t.section\t.text\n");
|
||||||
|
|
||||||
/* This code exists so that we can put all externs before all symbol
|
/* This code exists so that we can put all externs before all symbol
|
||||||
references. This is necessary for the assembler's global pointer
|
references. This is necessary for the MIPS assembler's global pointer
|
||||||
optimizations to work. */
|
optimizations to work. */
|
||||||
/* ??? Current versions of gas do not require that externs occur before
|
if (TARGET_FILE_SWITCHING)
|
||||||
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;
|
asm_out_data_file = stream;
|
||||||
asm_out_text_file = make_temp_file ();
|
asm_out_text_file = make_temp_file ();
|
||||||
|
@ -4629,7 +4625,7 @@ mips_asm_file_end (file)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (TARGET_GP_OPT)
|
if (TARGET_FILE_SWITCHING)
|
||||||
{
|
{
|
||||||
fprintf (file, "\n\t.text\n");
|
fprintf (file, "\n\t.text\n");
|
||||||
rewind (asm_out_text_file);
|
rewind (asm_out_text_file);
|
||||||
|
|
Loading…
Reference in New Issue