GNU Toolchain for Motorola ColdFire 5471

Nick Clifton nickc@redhat.com
Mon Jun 21 15:24:00 GMT 2004


Hi James,

> In an effort to build a toolchain for the new Coldfire 5471 processor, I 
> have donwloaded, configured, and installed the following items: gcc 
> 3.4.0 (along with patches from ulinux website), binutils 2.15, newlib 
> 1.8, gdb 6.1.
> 
> When I try to use the -mcfv4e option with the tools, the option isn't 
> recognized (even though it is listed in the help files).  Is there a 
> patch that fixes this?

Yes - this patch, applied to the mainline sources, but not the 2.15 
branch, fixes the problem:

gas/ChangeLog
2004-04-22  Peter Barada <peter@the-baradas.com>

	* NEWS: Added support for EMAC instructions and MAC/EMAC
	Motorola syntax.
	* config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
	scale factor tokens, trailing_ampersand to mark mask addressing
	for MAC/EMAC instructions.
	* config/m68k-parse.y: Add options_ampersand clause, '<<',
	'>>'.
	(yylex): Handle '>', '<', and '&' following '+'.
	* config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
	architectures in archs[].
	(m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
	for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
	respectively.
	(m68k_ip): Handle trailing '&' on MAC/EMAC insns.
	(install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
	cases.
	Add EMAC operands to init_table[].


Cheers
  Nick



More information about the Binutils mailing list