From fbc3f1913d26d4b559cd51061444718a172b094a Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 9 Aug 1995 18:53:41 +0000 Subject: * 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. --- gdb/rs6000-nat.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gdb/rs6000-nat.c') 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); -- cgit v1.1