diff options
author | Alan Modra <amodra@gmail.com> | 2025-02-28 17:56:48 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-03-04 08:23:16 +1030 |
commit | a8a9fc74297636d8e6502c090d51f46f82aae1ea (patch) | |
tree | c016bbacdc1c525aec098dea77894ca5442f20a4 /binutils/arsup.h | |
parent | 7166166ec098b998dbd48e90be40ce880f7d46de (diff) | |
download | binutils-a8a9fc74297636d8e6502c090d51f46f82aae1ea.zip binutils-a8a9fc74297636d8e6502c090d51f46f82aae1ea.tar.gz binutils-a8a9fc74297636d8e6502c090d51f46f82aae1ea.tar.bz2 |
objdump: is_same_section
This fixes a deficiency in commit 660df28acfa1, which should have used
the same logic as that in sym_ok. Ideally both places would not
compare section names, but it can be a little tricky to match a
section in the real object file with a section in a debug file.
Extend commit 39f0547e554d to use section name, vma and size.
* objcopy (is_same_section): New function.
(compare_symbols, sym_ok): Use it here.
Diffstat (limited to 'binutils/arsup.h')
0 files changed, 0 insertions, 0 deletions