Re: [ob?] nto-tdep.c: recognize powerpc as well as rs6000

Daniel Jacobowitz
2003-06-17T18:17:53Z

On Tue, Jun 17, 2003 at 01:58:18PM -0400, Kris Warkentin wrote:
> Since I'm braindead today....okay to commit?

Sure, but brush up on style:
> --- 97,104 ----
> arch = "x86";
> endian = "";
> }
> ! else if (strcmp (TARGET_ARCHITECTURE->arch_name, "rs6000") == 0 ||
> ! strcmp (TARGET_ARCHITECTURE->arch_name, "powerpc") == 0)
> {
> arch = "ppc";
> endian = "be";

|| goes at the beginning of the next line.

> --- 131,138 ----
> arch = "x86";
> endian = "";
> }
> ! else if (strcmp (TARGET_ARCHITECTURE->arch_name, "rs6000") == 0 ||
> ! strcmp (TARGET_ARCHITECTURE->arch_name, "powerpc") == 0)
> {
> arch = "ppc";
> endian = "be";

Likewise.

For the indentation changes, I'll just have to take your word for it -
they're so mangled by the time they get through your MUA that they're
useless.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer