aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/coffgen.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5b53258..b8d77b6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2022-04-08 Nick Clifton <nickc@redhat.com>
+
+ PR 29038
+ * coffgen.c (coff_find_nearest_line_with_names): Fix typo
+ retrieving saved bias.
+
2022-04-07 Mark Harmstone <mark@harmstone.com>
* coff-i386.c (in_reloc_p): Add R_SECTION.
diff --git a/bfd/coffgen.c b/bfd/coffgen.c
index bec1a42..57f380a 100644
--- a/bfd/coffgen.c
+++ b/bfd/coffgen.c
@@ -2382,7 +2382,7 @@ coff_find_nearest_line_with_names (bfd *abfd,
}
if (sec_data != NULL && sec_data->saved_bias)
- bias = sec_data->saved_bias;
+ bias = sec_data->bias;
else if (symbols)
{
bias = _bfd_dwarf2_find_symbol_bias (symbols,