Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/sun68k/stand



christos@ wrote:

> Module Name:  src
> Committed By: christos
> Date:         Thu Nov  7 00:43:16 UTC 2013
> 
> Modified Files:
>       src/sys/arch/sun68k/stand: Makefile.inc
>       src/sys/arch/sun68k/stand/libsa: Makefile
> 
> Log Message:
> avoid confusion with 68010 and 68020. The sun3 always was a 68020, and
> the code assumes that.

>> -AFLAGS= -Wa,-mc68020 -Wa,-mc68851
>> -CFLAGS= -mc68000 -Wa,-mc68010 -Wa,-m68851 -msoft-float
>> +AFLAGS= -Wa,-m68020 -Wa,-m68851
>> +CFLAGS= -m68020 ${AFLAGS} -msoft-float

What problem are you trying to solve?

 - sun68k/stand loaders are also used by 68010 sun2
 - CFLAGS needs -mc68000 (or -m68000) for sun2 binaries
 - AFLAGS needs -Wa,mc68020 because SRT0.S includes 020 %cacr instructions
   inside sun3 conditinal blocks

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index