* nto-tdep.c (nto_map_arch_to_cputype): Recognize powerpc.
(nto_find_and_open_solib): Likewise. (nto_init_solib_absolute_prefix): Likewise. (_initialize_nto_tdep): Fix indentation.
This commit is contained in:
parent
cf0e1e0d09
commit
192cdb1903
2 changed files with 16 additions and 7 deletions
|
@ -4,6 +4,13 @@
|
|||
deprecated_read_register_bytes with multiple regcache_raw_read
|
||||
calls.
|
||||
|
||||
2003-06-17 Kris Warkentin <kewarken@qnx.com>
|
||||
|
||||
* nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc".
|
||||
(nto_find_and_open_solib): Likewise.
|
||||
(nto_init_solib_absolute_prefix): Likewise.
|
||||
(_initialize_nto_tdep): Fix indentation.
|
||||
|
||||
2003-06-17 Kris Warkentin <kewarken@qnx.com>
|
||||
|
||||
* i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR.
|
||||
|
|
|
@ -72,7 +72,7 @@ nto_map_arch_to_cputype (const char *arch)
|
|||
{
|
||||
if (!strcmp (arch, "i386") || !strcmp (arch, "x86"))
|
||||
return CPUTYPE_X86;
|
||||
if (!strcmp (arch, "rs6000") || !strcmp (arch, "ppc"))
|
||||
if (!strcmp (arch, "rs6000") || !strcmp (arch, "powerpc"))
|
||||
return CPUTYPE_PPC;
|
||||
if (!strcmp (arch, "mips"))
|
||||
return CPUTYPE_MIPS;
|
||||
|
@ -97,7 +97,8 @@ nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname)
|
|||
arch = "x86";
|
||||
endian = "";
|
||||
}
|
||||
else if (strcmp (TARGET_ARCHITECTURE->arch_name, "rs6000") == 0)
|
||||
else if (strcmp (TARGET_ARCHITECTURE->arch_name, "rs6000") == 0
|
||||
|| strcmp (TARGET_ARCHITECTURE->arch_name, "powerpc") == 0)
|
||||
{
|
||||
arch = "ppc";
|
||||
endian = "be";
|
||||
|
@ -130,7 +131,8 @@ nto_init_solib_absolute_prefix (void)
|
|||
arch = "x86";
|
||||
endian = "";
|
||||
}
|
||||
else if (strcmp (TARGET_ARCHITECTURE->arch_name, "rs6000") == 0)
|
||||
else if (strcmp (TARGET_ARCHITECTURE->arch_name, "rs6000") == 0
|
||||
|| strcmp (TARGET_ARCHITECTURE->arch_name, "powerpc") == 0)
|
||||
{
|
||||
arch = "ppc";
|
||||
endian = "be";
|
||||
|
|
Loading…
Reference in a new issue