diff options
author | Alan Modra <amodra@gmail.com> | 2017-09-19 13:22:49 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-09-19 14:32:18 +0930 |
commit | 25516cc573ff3551a7ac0538e1d3de5811c7199e (patch) | |
tree | 1967c5802a2d50f0403d9d7fa333560da2dbefa0 /gdb/completer.h | |
parent | 3d13f3e9bda5aada68915f5d958f731ae79ed41d (diff) | |
download | gdb-25516cc573ff3551a7ac0538e1d3de5811c7199e.zip gdb-25516cc573ff3551a7ac0538e1d3de5811c7199e.tar.gz gdb-25516cc573ff3551a7ac0538e1d3de5811c7199e.tar.bz2 |
PowerPC64 stubs don't match calculated size
After the PR 21411 fix, the linker generated .eh_frame for ppc64 glink
can be edited by the generic code. The sequence of events goes
something like:
1) Some object file adds .eh_frame aligned to 8, making the output
.eh_frame aligned to at least 8, so linker generated .eh_frame FDE
is padded to an 8 byte boundary.
2) All .eh_frame past the glink .eh_frame is garbage collected.
3) Generic code detects that last FDE (the glink .eh_frame) doesn't
need to be padded to an 8 byte boundary, reducing size from 88 to
84.
4) elf64-ppc.c check fails.
PR 21441
* elf64-ppc.c (ppc64_elf_build_stubs): Don't check glink_eh_frame
size.
Diffstat (limited to 'gdb/completer.h')
0 files changed, 0 insertions, 0 deletions