aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-01-10 11:39:50 -0700
committerTom Tromey <tromey@adacore.com>2023-02-08 08:20:12 -0700
commit3f01c12b9006227529823a07aee8a21627da63dd (patch)
tree373b0bbf320051f13d80a749bb1e226b2a885de2 /gas
parent1947a4a4bb7651a4656edceb1f9b246f96f89ebd (diff)
downloadgdb-3f01c12b9006227529823a07aee8a21627da63dd.zip
gdb-3f01c12b9006227529823a07aee8a21627da63dd.tar.gz
gdb-3f01c12b9006227529823a07aee8a21627da63dd.tar.bz2
Use default section indexes in fixup_symbol_section
If fixup_section does not find a matching section, it arbitrarily chooses the first one. However, it seems better to make this default depend on the type of the symbol -- i.e., default data symbols to .data and text symbols to .text. I've also made fixup_section static, as it only has one caller.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions