diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-01-01 08:37:20 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-01-01 08:37:20 +0000 |
commit | 8333c85bf882a6ec58bd0be69f713542f7f446fd (patch) | |
tree | f5a13c713964d4d2f98313dcac843c2138e9e257 /libiberty/testsuite/demangle-expected | |
parent | 6e58437e3b25675483adfd1a044510c0731ef942 (diff) | |
download | gdb-8333c85bf882a6ec58bd0be69f713542f7f446fd.zip gdb-8333c85bf882a6ec58bd0be69f713542f7f446fd.tar.gz gdb-8333c85bf882a6ec58bd0be69f713542f7f446fd.tar.bz2 |
ppc-aix: .bss relocation problem when overlapping with the .data section
It has been observed that the GNU linker can sometimes improperly
set the address of the .bss section in such a way that it overlaps
with the end of the .data section. This causes problems in GDB
when trying to print the value of variables located in that section,
because the loader appears to be gracefully but silently adjusting
the address of the .bss section to avoid the overlap, thus causing
a mismatch between the address where GDB thinks it is, vs the address
where it actually lives.
This patch works around the problem while it a fix in the linker
is being explored.
gdb/ChangeLog:
* rs6000-nat.c (bss_data_overlap): New function.
(vmap_symtab): Use it to adjust the .bss section's offset.
Diffstat (limited to 'libiberty/testsuite/demangle-expected')
0 files changed, 0 insertions, 0 deletions