aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-09-12 21:52:43 +0000
committerIan Lance Taylor <ian@airs.com>1994-09-12 21:52:43 +0000
commit1b434ced730b92336e2602505b85985b93507f79 (patch)
tree6713c74df5f8b401b665d44d4459cd20f5a15b0b
parent2fd87dbc906958d2a267fdab6ff5e751d3f285d0 (diff)
downloadgdb-1b434ced730b92336e2602505b85985b93507f79.zip
gdb-1b434ced730b92336e2602505b85985b93507f79.tar.gz
gdb-1b434ced730b92336e2602505b85985b93507f79.tar.bz2
* read.c (read_a_source_file): The second argument to as_where is
unsigned int *, not int *.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/read.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6fb7497..1638b65 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Mon Sep 12 17:51:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
+
+ * read.c (read_a_source_file): The second argument to as_where is
+ unsigned int *, not int *.
+
Thu Sep 8 17:18:24 1994 Kung Hsu (kung@mexican.cygnus.com)
* config/obj-ecoff.h : Change names to OBJ_GENERATE_ASM_LINENO,
diff --git a/gas/read.c b/gas/read.c
index de45590..d85efe8 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -554,8 +554,9 @@ read_a_source_file (name)
}
else
{
- int lineno;
- char *s;
+ unsigned int lineno;
+ char *s;
+
as_where (&s, &lineno);
OBJ_GENERATE_ASM_LINENO (s, lineno);
}