aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-04-09 16:08:29 +0000
committerIan Lance Taylor <ian@airs.com>1993-04-09 16:08:29 +0000
commit349f20de4e155cf153ce92a71edc03fff8ac4944 (patch)
tree12221ae958b958f6c2f4d224ab51683cabc1ad48
parent47f366bc62157d9d70eab8b6de120e67012bdfb7 (diff)
downloadgdb-349f20de4e155cf153ce92a71edc03fff8ac4944.zip
gdb-349f20de4e155cf153ce92a71edc03fff8ac4944.tar.gz
gdb-349f20de4e155cf153ce92a71edc03fff8ac4944.tar.bz2
* config/obj-ecoff.h (ecoff_build_lineno): Make ilineMax in
symbolic header match cline in FDR; the native liinker seems to want that.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/obj-ecoff.c7
2 files changed, 9 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7e4c9d4..f693bc4 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+Fri Apr 9 09:05:47 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * config/obj-ecoff.h (ecoff_build_lineno): Make ilineMax in
+ symbolic header match cline in FDR; the native liinker seems to
+ want that.
+
Thu Apr 8 15:51:28 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
* doc/Makefile.in: as.texinfo is in $(srcdir). Use
diff --git a/gas/config/obj-ecoff.c b/gas/config/obj-ecoff.c
index 5677ee1..35567f1 100644
--- a/gas/config/obj-ecoff.c
+++ b/gas/config/obj-ecoff.c
@@ -3713,7 +3713,7 @@ ecoff_build_lineno (buf, bufend, offset, linecntptr)
c = ecoff_longword_adjust (buf, bufend, c, &bufptr);
if (linecntptr != (long *) NULL)
- *linecntptr = iline;
+ *linecntptr = totcount;
return c;
}
@@ -3940,9 +3940,8 @@ ecoff_build_symbols (buf,
}
else
{
- know (sym_ptr->begin_ptr->index_ptr
- != (aux_t *) NULL);
- sym_ptr->begin_ptr->index_ptr->data.isym =
+ know (begin_ptr->index_ptr != (aux_t *) NULL);
+ begin_ptr->index_ptr->data.isym =
isym - ifilesym + 1;
}