| commit | a8a9fc74297636d8e6502c090d51f46f82aae1ea | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Fri Feb 28 17:56:48 2025 +1030 |
| committer | Alan Modra <amodra@gmail.com> | Tue Mar 04 08:23:16 2025 +1030 |
| tree | c016bbacdc1c525aec098dea77894ca5442f20a4 | |
| parent | 7166166ec098b998dbd48e90be40ce880f7d46de [diff] |
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.