diff options
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r-- | gdb/coffread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c index 75f6fc5..f35609d 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -347,7 +347,8 @@ cs_to_section (struct coff_symbol *cs, struct objfile *objfile) else if (bfd_get_section_flags (abfd, sect) & SEC_LOAD) off = SECT_OFF_DATA (objfile); else - off = SECT_OFF_BSS (objfile); + /* Just return the bfd section index. */ + off = sect->index; } return off; } |