linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: Unrecognized opcode: `mtdcr'
@ 2002-05-29 19:30 Cameron, Steve
  2002-05-29 19:54 ` Tom Rini
  0 siblings, 1 reply; 7+ messages in thread
From: Cameron, Steve @ 2002-05-29 19:30 UTC (permalink / raw)
  To: Tom Rini; +Cc: linuxppc-embedded


[..snip...]
>
> I think we need to change arch/ppc/Makefile from:
> ifdef CONFIG_40x
> CFLAGS := $(CFLAGS) -Wa,-m405
> endif
>
> To:
> ifdef CONFIG_4xx
> CFLAGS := $(CFLAGS) -Wa,-m405
> endif

Ok, this worked for me.  Thanks!  (I guess I wasn't so
far off track after all.)

> For the moment.  Until there's some 440-specific opcodes we use (are
> there any?) which means we'll need to do -Wa,-m440.

When I had tried "-Wa,-m440" before, it wasn't recognized as an option.
(but perhaps by "do -Wa,-m440", you mean enhance the C compiler and/or
assembler.)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Unrecognized opcode: `mtdcr'
@ 2002-05-29 18:48 Stephen Cameron
  2002-05-29 19:05 ` Tom Rini
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Cameron @ 2002-05-29 18:48 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

I just started trying to play with my new Ebony board...

I noticed now 'as' complains: Unrecognized opcode: `mtdcr'
when I do this:
	make ebony_config
	make mrproper
	make menuconfig
	make dep
	make zImage

But, if I do this:
	make walnut_config
	make mrproper
	make menuconfig
	make dpe
	make zImage

I can make a zImage just fine.

Of course I can manually add '-Wa,-m405' into my CFLAGS in
the Makefile, and it will build ok, but I'm thinking that's
not what I want to do.

My 'as' says:

[scameron@zuul sslinux]$ /usr/local/powerpc-linux/bin/as --version
GNU assembler 2.12
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `powerpc-linux'.

I also tried binutils 2.12.1, with the same results.

Any ideas?

Thanks,

-- steve


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-05-29 22:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-29 19:30 Unrecognized opcode: `mtdcr' Cameron, Steve
2002-05-29 19:54 ` Tom Rini
2002-05-29 20:43   ` Matt Porter
2002-05-29 20:54     ` Matt Porter
2002-05-29 22:23       ` Memory usage Owen Green
  -- strict thread matches above, loose matches on Subject: below --
2002-05-29 18:48 Unrecognized opcode: `mtdcr' Stephen Cameron
2002-05-29 19:05 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).