diff options
author | Jeff Law <law@redhat.com> | 1995-08-09 18:53:41 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1995-08-09 18:53:41 +0000 |
commit | fbc3f1913d26d4b559cd51061444718a172b094a (patch) | |
tree | 0c16d374a422309f245ecb5db389da6b3487ccdf /gdb/rs6000-nat.c | |
parent | 99ca35f1fae2ba9acf1d12b9ae233821cb5b882a (diff) | |
download | gdb-fbc3f1913d26d4b559cd51061444718a172b094a.zip gdb-fbc3f1913d26d4b559cd51061444718a172b094a.tar.gz gdb-fbc3f1913d26d4b559cd51061444718a172b094a.tar.bz2 |
* configure.in (powerpc-*-aix*): Recognize as a new gdb host
and target.
(powerpc-*-eabi*): Don't set configdirs.
(powerpcle-*-eabi*0: Likewise.
* configure: Updated.
* rs6000-nat.c (vmap_ldinfo): Don't relocate data addresses
for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is
defined.
* config/powerpc/{aix.mh,aix.mh}: Host and target makefile fragments
for powerpc running aix4.
* config/powerpc/{nm-aix.h, tm-ppc-aix.h, xm-aix.h}: Native, target
and host include files for powerpc running aix4.
More of Mike's powerpc work + minor changes.
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); |