aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2010-02-25 15:40:01 +0000
committerDaniel Jacobowitz <drow@false.org>2010-02-25 15:40:01 +0000
commiteb73e134997d622048918a758b3644b618585411 (patch)
treef67b22ed218adf5c83ff106c05710d96428f67b6 /gdb/symfile.c
parentc67a084a243288154497d1433b8ebfc556bac45c (diff)
downloadgdb-eb73e134997d622048918a758b3644b618585411.zip
gdb-eb73e134997d622048918a758b3644b618585411.tar.gz
gdb-eb73e134997d622048918a758b3644b618585411.tar.bz2
* symfile.c (find_lowest_section): Include SEC_ALLOC sections.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 8705420..20b3daf 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -297,7 +297,7 @@ find_lowest_section (bfd *abfd, asection *sect, void *obj)
{
asection **lowest = (asection **) obj;
- if (0 == (bfd_get_section_flags (abfd, sect) & SEC_LOAD))
+ if (0 == (bfd_get_section_flags (abfd, sect) & (SEC_ALLOC | SEC_LOAD)))
return;
if (!*lowest)
*lowest = sect; /* First loadable section */