aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-10-17 22:07:16 +0000
committerIan Lance Taylor <ian@airs.com>1994-10-17 22:07:16 +0000
commitf10a96cbecd6754ca9b28e146d43141af641ca25 (patch)
treec4e64d50443080f0f7ab22b81aa7bd4066a26d81 /gas/read.c
parenteb4267a3f937920d9cab71a265360c290db37d97 (diff)
downloadgdb-f10a96cbecd6754ca9b28e146d43141af641ca25.zip
gdb-f10a96cbecd6754ca9b28e146d43141af641ca25.tar.gz
gdb-f10a96cbecd6754ca9b28e146d43141af641ca25.tar.bz2
* read.c (read_a_source_file): The second argument to as_where is
unsigned int *, not int *.
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 48739de..fc2d29b 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. */