* [PATCH] Coldfire 5249 gas bug
@ 2004-09-23 6:29 Linus Nielsen Feltzing
2004-09-30 17:10 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Linus Nielsen Feltzing @ 2004-09-23 6:29 UTC (permalink / raw)
To: binutils
Hi all!
Using the latest CVS version of binutils, assembling the following
instruction fails on the mcf5249 target:
move.l %acc1,%d0
m68k-elf-as fails with the following message:
Assembler messages:
Internal error, aborting at ../../binutils-040922/gas/config/tc-m68k.c
line 4357 in select_control_regs
Please report this bug.
select_control_regs() is missing a case for the mcf5249 target. Here's
the patch to cure it:
Index: gas/config/tc-m68k.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-m68k.c,v
retrieving revision 1.57
diff -u -r1.57 tc-m68k.c
--- gas/config/tc-m68k.c 17 Aug 2004 12:19:57 -0000 1.57
+++ gas/config/tc-m68k.c 23 Sep 2004 05:52:04 -0000
@@ -4341,6 +4341,7 @@
break;
case mcf5200:
case mcf5206e:
+ case mcf5249:
case mcf5307:
case mcf5407:
control_regs = mcf_control_regs;
Have fun,
Linus Nielsen Feltzing
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Coldfire 5249 gas bug
2004-09-23 6:29 [PATCH] Coldfire 5249 gas bug Linus Nielsen Feltzing
@ 2004-09-30 17:10 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2004-09-30 17:10 UTC (permalink / raw)
To: Linus Nielsen Feltzing; +Cc: binutils
Hi Linus,
> Using the latest CVS version of binutils, assembling the following
> instruction fails on the mcf5249 target:
>
> move.l %acc1,%d0
>
> m68k-elf-as fails with the following message:
>
> Assembler messages:
> Internal error, aborting at ../../binutils-040922/gas/config/tc-m68k.c
Thanks very much for reporting this bug and supplying a patch to fix it.
I have applied your patch along with this ChangeLog entry:
gas/ChangeLog
2004-09-30 Linus Nielsen Feltzing <linus@haxx.se>
* config/tc-m68k.c (select_control_regs): Add mcf5249.
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-30 17:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-23 6:29 [PATCH] Coldfire 5249 gas bug Linus Nielsen Feltzing
2004-09-30 17:10 ` Nick Clifton
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 read-only IMAP folder(s) and NNTP newsgroup(s).