summaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/read.c b/gas/read.c
index 48739de2b11..fc2d29bcf86 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -549,17 +549,17 @@ read_a_source_file (name)
#ifdef OBJ_GENERATE_ASM_LINENO
if (generate_asm_lineno == 0)
{
- if (ecoff_no_current_file())
+ if (ecoff_no_current_file ())
generate_asm_lineno = 1;
}
- else
- {
+ if (generate_asm_lineno == 1)
+ {
unsigned int lineno;
char *s;
as_where (&s, &lineno);
OBJ_GENERATE_ASM_LINENO (s, lineno);
- }
+ }
#endif
md_assemble (s); /* Assemble 1 instruction. */