mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
(obj_coff_line): Set symbol lnno field with this_base, not line_base. (Patch
from Andreas Arens, ari@obelix.av.rwth-aachen.de.)
This commit is contained in:
@ -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 ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user