summaryrefslogtreecommitdiff
path: root/gdb/remote-os9k.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-os9k.c')
-rw-r--r--gdb/remote-os9k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c
index dd821154e42..fd758b5a1b1 100644
--- a/gdb/remote-os9k.c
+++ b/gdb/remote-os9k.c
@@ -514,8 +514,8 @@ rombug_wait (pid, status)
new_symfile_objfile (obj_sec->objfile, 1, 0);
offs = (struct section_offsets *) alloca (SIZEOF_SECTION_OFFSETS);
memcpy (offs, symfile_objfile->section_offsets, SIZEOF_SECTION_OFFSETS);
- ANOFFSET (offs, SECT_OFF_DATA) = addr;
- ANOFFSET (offs, SECT_OFF_BSS) = addr;
+ ANOFFSET (offs, SECT_OFF_DATA (symfile_objfile)) = addr;
+ ANOFFSET (offs, SECT_OFF_BSS (symfile_objfile)) = addr;
objfile_relocate (symfile_objfile, offs);
}