diff options
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r-- | gdb/rs6000-nat.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index 18bce29..a5fec6c 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -500,6 +500,16 @@ vmap_ldinfo (ldi) if (vp->objfile == NULL) got_exec_file = 1; +#ifdef DONT_RELOCATE_SYMFILE_OBJFILE + if (vp->objfile == symfile_objfile + || vp->objfile == NULL) + { + ldi->ldinfo_dataorg = 0; + vp->dstart = (CORE_ADDR) 0; + vp->dend = ldi->ldinfo_datasize; + } +#endif + /* relocate symbol table(s). */ vmap_symtab (vp); |