aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-aix.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-05-10 13:25:28 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-05-10 13:25:28 +0000
commitab1c4e88612fb125c21eaa4374093161bb18fd10 (patch)
treeb606796c76d9f041d9b3f9777c99d52e8ba8af10 /gdb/solib-aix.c
parent110a61d34220d41ade91b5e5159606588482d634 (diff)
downloadgdb-ab1c4e88612fb125c21eaa4374093161bb18fd10.zip
gdb-ab1c4e88612fb125c21eaa4374093161bb18fd10.tar.gz
gdb-ab1c4e88612fb125c21eaa4374093161bb18fd10.tar.bz2
Remove FIXME in solib-aix.c:solib_aix_relocate_section_addresses
This issue should now be fixed thanks to a change in bfd removing the SEC_ALLOC flag from all sections that do not get mapped to memory. gdb/ChangeLog: * solib-aix.c (solib_aix_relocate_section_addresses): Remove FIXME comment.
Diffstat (limited to 'gdb/solib-aix.c')
-rw-r--r--gdb/solib-aix.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/solib-aix.c b/gdb/solib-aix.c
index 4672b58..5d15e70 100644
--- a/gdb/solib-aix.c
+++ b/gdb/solib-aix.c
@@ -432,16 +432,6 @@ solib_aix_relocate_section_addresses (struct so_list *so,
else
{
/* All other sections should not be relocated. */
- /* FIXME: GDB complains that the .loader section sometimes
- overlaps with other sections (Eg: the .data section).
- As far as I can tell, the loader section had the LOAD flag
- set, but not the RELOC. So it should not be relocated.
- There seems to be a problem there, and maybe it has to do
- with setting sec->addr to 0 (when the vma is indeed 0).
- But even if there wasn't, the problem then becomes the fact
- that many shared objects inside shared libraries have
- a .loader section whose vma is 0, thus also triggering
- an overlap warning. */
sec->addr = bfd_section_vma (abfd, bfd_sect);
sec->endaddr = sec->addr + bfd_section_size (abfd, bfd_sect);
}