diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-08-23 22:40:00 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-08-23 22:40:00 +0000 |
commit | 53a5351d907ef4eacd463a48a86d35b2b70b9f60 (patch) | |
tree | 22c35199ec70962e33c63d2111f333bfdcce02e1 /gdb/symfile.c | |
parent | 093505ad6138b9e165876765ecd667c90fc921ae (diff) | |
download | gdb-53a5351d907ef4eacd463a48a86d35b2b70b9f60.zip gdb-53a5351d907ef4eacd463a48a86d35b2b70b9f60.tar.gz gdb-53a5351d907ef4eacd463a48a86d35b2b70b9f60.tar.bz2 |
import gdb-1999-08-23 snapshot
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index c951866..b5d2821 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -536,9 +536,10 @@ syms_from_objfile (objfile, addr, mainline, verbo) /* Convert addr into an offset rather than an absolute address. We find the lowest address of a loaded segment in the objfile, - and assume that <addr> is where that got loaded. Due to historical - precedent, we warn if that doesn't happen to be a text segment. */ + and assume that <addr> is where that got loaded. + We no longer warn if the lowest section is not a text segment (as + happens for the PA64 port. */ if (mainline) { addr = 0; /* No offset from objfile addresses. */ @@ -553,13 +554,6 @@ syms_from_objfile (objfile, addr, mainline, verbo) if (lowest_sect == NULL) warning ("no loadable sections found in added symbol-file %s", objfile->name); - else if ((bfd_get_section_flags (objfile->obfd, lowest_sect) & SEC_CODE) - == 0) - /* FIXME-32x64--assumes bfd_vma fits in long. */ - warning ("Lowest section in %s is %s at 0x%lx", - objfile->name, - bfd_section_name (objfile->obfd, lowest_sect), - (unsigned long) bfd_section_vma (objfile->obfd, lowest_sect)); if (lowest_sect) addr -= bfd_section_vma (objfile->obfd, lowest_sect); |