aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/xcoffread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 53e5469..47d44a5 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -274,7 +274,7 @@ find_targ_sec (bfd *abfd, asection *sect, PTR obj)
else if (bfd_get_section_flags (abfd, sect) & SEC_LOAD)
*args->resultp = SECT_OFF_DATA (objfile);
else
- *args->resultp = SECT_OFF_BSS (objfile);
+ *args->resultp = sect->index;
*args->bfd_sect = sect;
}
}