aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-frv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-frv.c')
-rw-r--r--gdb/solib-frv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c
index bf4ac51..300fe9c 100644
--- a/gdb/solib-frv.c
+++ b/gdb/solib-frv.c
@@ -1047,6 +1047,7 @@ frv_relocate_section_addresses (struct so_list *so,
&& sec->addr < map->segs[seg].p_vaddr + map->segs[seg].p_memsz)
{
CORE_ADDR displ = map->segs[seg].addr - map->segs[seg].p_vaddr;
+
sec->addr += displ;
sec->endaddr += displ;
break;