[patch] Fix for libgloss/m68k

Masaki Muranaka monaka@monami-software.com
Mon Dec 11 00:03:00 GMT 2006


Hello,

Aaron J. Grier wrote:
> bgnd has been used for CPU32 targets since gdb 5 if I recall  
> correctly.
>
> 'halt' does not appear as a valid opcode in my reference manual.   
> is it
> substituted with 'stop'?

My m68k-elf-gas says `halt' is valid on 68060 compatible.
It might be a kind of substitution but I'm not sure.


>> Even if we should replace to `bgnd', we need to add checks all the
>> same.  Some archs like m6833x don't support .
>>
>
> CPU32 archs likes 68331 and 68332 support bgnd; I believe coldfire  
> does
> as well.  68000, 020, 030, 040 do not.

Oops, you are right.

Anyway, we must apply patches to libgloss/m68k
as libgloss BDM supports are built for 68000 target also.


--
Masaki Muranaka
Monami software




More information about the Newlib mailing list