diff options
author | Tom Tromey <tromey@adacore.com> | 2023-01-10 11:39:50 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-02-08 08:20:12 -0700 |
commit | 3f01c12b9006227529823a07aee8a21627da63dd (patch) | |
tree | 373b0bbf320051f13d80a749bb1e226b2a885de2 /gold/gdb-index.h | |
parent | 1947a4a4bb7651a4656edceb1f9b246f96f89ebd (diff) | |
download | gdb-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 'gold/gdb-index.h')
0 files changed, 0 insertions, 0 deletions