aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1997-05-01 11:43:30 -0700
committerJim Wilson <wilson@gcc.gnu.org>1997-05-01 11:43:30 -0700
commitd46c6fcec2b2ac5ea25d30b62ab61df993a20f05 (patch)
tree05b2d68a15a8d5f7d190af2bc89178f873a639e4 /gcc
parent33b5e50b6ab2484e2603871cf04398ac1ccaed39 (diff)
downloadgcc-d46c6fcec2b2ac5ea25d30b62ab61df993a20f05.zip
gcc-d46c6fcec2b2ac5ea25d30b62ab61df993a20f05.tar.gz
gcc-d46c6fcec2b2ac5ea25d30b62ab61df993a20f05.tar.bz2
(mips_asm_file_start): Use new macro TARGET_FILE_SWITCHING.
(mips_asm_file_end): Likewise. From-SVN: r14005
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/mips.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 04ee960..13bc57f 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -4564,13 +4564,9 @@ mips_asm_file_start (stream)
fprintf (stream, "\t.section\t.text\n");
/* 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. */
- /* ??? 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)
+ if (TARGET_FILE_SWITCHING)
{
asm_out_data_file = stream;
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");
rewind (asm_out_text_file);