* config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition.
* config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define.
* symfile.c (syms_from_objfile): Update.
(reread_symbols): `Update
* exec.c (exec_file_attach): Update.
(exec_file_attach): Update.
* config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert
2003-08-29 change.
* config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.
+2003-09-03 Andrew Cagney <cagney@redhat.com>
+
+ * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition.
+ * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define.
+ * symfile.c (syms_from_objfile): Update.
+ (reread_symbols): `Update
+ * exec.c (exec_file_attach): Update.
+ (exec_file_attach): Update.
+ * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert
+ 2003-08-29 change.
+ * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.
+
2003-09-03 Daniel Jacobowitz <drow@mvista.com>
* arm-tdep.c: Include frame-unwind.h, frame-base.h, and
at_subroutine_call_instruction_target(prevpc,stoppc)
extern int at_subroutine_call_instruction_target();
-/* We _want_ the SVR4 section offset calculations (see syms_from_objfile()
- in symfile.c) */
-#undef IBM6000_TARGET
-
extern int ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name);
#undef IN_SIGTRAMP
#define IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name)
#include "powerpc/tm-ppc-eabi.h"
-/* We _want_ the SVR4 section offset calculations (see syms_from_objfile()
- in symfile.c). */
-#undef IBM6000_TARGET
-
#endif /* TM_NBSD_H */
#define KERNEL_U_SIZE kernel_u_size()
extern int kernel_u_size (void);
+
+/* Flag for machine-specific stuff in shared files. FIXME */
+#define DEPRECATED_IBM6000_TARGET
extern CORE_ADDR init_frame_pc_noop (int fromleaf, struct frame_info *prev);
#define DEPRECATED_INIT_FRAME_PC(fromleaf, prev) (init_frame_pc_noop (fromleaf, prev))
-/* Flag for machine-specific stuff in shared files. FIXME */
-#define IBM6000_TARGET
-
/* RS6000/AIX does not support PT_STEP. Has to be simulated. */
#define SOFTWARE_SINGLE_STEP_P() 1
/* FIXME - This should only be run for RS6000, but the ifdef is a poor
way to accomplish. */
-#ifdef IBM6000_TARGET
+#ifdef DEPRECATED_IBM6000_TARGET
/* Setup initial vmap. */
map_vmap (exec_bfd, 0);
error ("\"%s\": can't find the file sections: %s",
scratch_pathname, bfd_errmsg (bfd_get_error ()));
}
-#endif /* IBM6000_TARGET */
+#endif /* DEPRECATED_IBM6000_TARGET */
if (build_section_table (exec_bfd, &exec_ops.to_sections,
&exec_ops.to_sections_end))
init_objfile_sect_indices (objfile);
}
-#ifndef IBM6000_TARGET
+#ifndef DEPRECATED_IBM6000_TARGET
/* This is a SVR4/SunOS specific hack, I think. In any event, it
screws RS/6000. sym_offsets should be doing this sort of thing,
because it knows the mapping between bfd sections and
s->offset += s_addr;
}
}
-#endif /* not IBM6000_TARGET */
+#endif /* not DEPRECATED_IBM6000_TARGET */
(*objfile->sf->sym_read) (objfile, mainline);
{
if (objfile->obfd)
{
-#ifdef IBM6000_TARGET
+#ifdef DEPRECATED_IBM6000_TARGET
/* If this object is from a shared library, then you should
stat on the library name, not member name. */