diff options
author | Alan Modra <amodra@gmail.com> | 2022-06-22 11:55:02 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-06-22 12:37:06 +0930 |
commit | 46439c90f2000edcb300c85ed843f8930752aed5 (patch) | |
tree | 30f9245656adb00f2d5c8f3e80ff8dddb95bf796 /binutils/dwarf.c | |
parent | 581db2a29bddc6d7f2fda34aa4301e070f75c609 (diff) | |
download | gdb-46439c90f2000edcb300c85ed843f8930752aed5.zip gdb-46439c90f2000edcb300c85ed843f8930752aed5.tar.gz gdb-46439c90f2000edcb300c85ed843f8930752aed5.tar.bz2 |
PowerPC64: stub debug dump
powerpc64le-linux-ld is failing the assertion in ppc_build_one_stub,
again apparently, which means a stub will overwrite the tail of a
previous stub. The difficulty with debugging these issues is that
it's not a problem with the stub that triggers the assertion, but the
previous stub in that section. This patch keeps track of the last
stub and adds a debug dump. Hopefully that will help.
* elf64-ppc.c (enum _ppc64_sec_type): Add sec_stub.
(struct _ppc64_elf_section_data): Add u.last_ent.
(dump_previous_stub): New function.
(ppc_build_one_stub): Keep track of previous stub, and dump it
when finding an overlapping stub.
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions