From: Nick Clifton Date: Fri, 8 Apr 2022 15:04:22 +0000 (+0100) Subject: Debug info for function in Windows PE binary on wrong instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d41169b6d4dbc3950516d0cdf0d8ca462b52bbb;p=binutils-gdb.git Debug info for function in Windows PE binary on wrong instruction PR 29038 * coffgen.c (coff_find_nearest_line_with_names): Fix typo retrieving saved bias. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5b532580041..b8d77b66356 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2022-04-08 Nick Clifton + + PR 29038 + * coffgen.c (coff_find_nearest_line_with_names): Fix typo + retrieving saved bias. + 2022-04-07 Mark Harmstone * coff-i386.c (in_reloc_p): Add R_SECTION. diff --git a/bfd/coffgen.c b/bfd/coffgen.c index bec1a424831..57f380a6425 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,