aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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 /gas/config
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.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/obj-ecoff.c7
1 files changed, 3 insertions, 4 deletions
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;
}