aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-03-15 03:02:17 +0000
committerKen Raeburn <raeburn@cygnus>1994-03-15 03:02:17 +0000
commit8304c303d69b0b1d016ca2db13a36842b98ed496 (patch)
tree07d36416ece50a0f26c2d018e2d2563b6208e6c8
parentc3b0ae93d2686430bc29aa984073efffe5895770 (diff)
downloadgdb-8304c303d69b0b1d016ca2db13a36842b98ed496.zip
gdb-8304c303d69b0b1d016ca2db13a36842b98ed496.tar.gz
gdb-8304c303d69b0b1d016ca2db13a36842b98ed496.tar.bz2
(obj_coff_line): Set symbol lnno field with this_base, not line_base. (Patch
from Andreas Arens, ari@obelix.av.rwth-aachen.de.)
-rw-r--r--gas/config/obj-coffbfd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/config/obj-coffbfd.c b/gas/config/obj-coffbfd.c
index 4d51556..494de22 100644
--- a/gas/config/obj-coffbfd.c
+++ b/gas/config/obj-coffbfd.c
@@ -1125,7 +1125,6 @@ obj_coff_line (ignore)
line_base = this_base;
}
-
#ifndef NO_LISTING
{
extern int listing;
@@ -1136,7 +1135,7 @@ obj_coff_line (ignore)
}
#endif
S_SET_NUMBER_AUXILIARY (def_symbol_in_progress, 1);
- SA_SET_SYM_LNNO (def_symbol_in_progress, line_base);
+ SA_SET_SYM_LNNO (def_symbol_in_progress, this_base);
demand_empty_rest_of_line ();
}