From 349f20de4e155cf153ce92a71edc03fff8ac4944 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 9 Apr 1993 16:08:29 +0000 Subject: [PATCH] * config/obj-ecoff.h (ecoff_build_lineno): Make ilineMax in symbolic header match cline in FDR; the native liinker seems to want that. --- gas/ChangeLog | 6 ++++++ gas/config/obj-ecoff.c | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 7e4c9d4343c..f693bc452e4 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 5677ee14275..35567f11bf6 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; } -- 2.30.2