* ecoff.c (ecoff_new_file): Don't do anything if we are still in
authorIan Lance Taylor <ian@airs.com>
Wed, 11 Sep 1996 04:14:35 +0000 (04:14 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 11 Sep 1996 04:14:35 +0000 (04:14 +0000)
the same file.
PR 10595.

gas/ChangeLog
gas/ecoff.c

index 72a0f02afc595d09c0b40d314f50575a0f92da6f..6bb2f3d149d3b990d0c489ba8cfe02ced623499d 100644 (file)
@@ -1,3 +1,8 @@
+Wed Sep 11 00:09:35 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ecoff.c (ecoff_new_file): Don't do anything if we are still in
+       the same file.
+
 Tue Sep 10 11:45:37 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * config/tc-mips.c (append_insn): Fill in the value for a constant
index cabfc17cccb9dbfd15335e180879be638b1fef7f..960032ea0dba7b3994a2fcdde0d06fa8880ef981 100644 (file)
@@ -2351,6 +2351,8 @@ void
 ecoff_new_file (name)
      const char *name;
 {
+  if (cur_file_ptr != NULL && strcmp (cur_file_ptr->name, name) == 0)
+    return;
   add_file (name, 0, 0);
   generate_asm_lineno = 1;
 }
This page took 0.039938 seconds and 4 git commands to generate.