* ecoff.c (ecoff_new_file): Don't do anything if we are still in
the same file. PR 10595.
This commit is contained in:
parent
8a3bdc3d2a
commit
475c826bb4
|
@ -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>
|
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
|
* config/tc-mips.c (append_insn): Fill in the value for a constant
|
||||||
|
|
|
@ -2351,6 +2351,8 @@ void
|
||||||
ecoff_new_file (name)
|
ecoff_new_file (name)
|
||||||
const char *name;
|
const char *name;
|
||||||
{
|
{
|
||||||
|
if (cur_file_ptr != NULL && strcmp (cur_file_ptr->name, name) == 0)
|
||||||
|
return;
|
||||||
add_file (name, 0, 0);
|
add_file (name, 0, 0);
|
||||||
generate_asm_lineno = 1;
|
generate_asm_lineno = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue