Port-amiga archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
68030 code when building for 68060?
I stumbled across the following line in
src/sys/arch/amiga/conf/Makefile.amiga:
.if empty(IDENT:M-DM68060)
CMACHFLAGS= -m68020
.else
===> CMACHFLAGS= -m68060 -Wa,-m68030 -Wa,-m68851
.endif
My question is, why bother with producing code for the 68030 when it's
known that the target is a 68060? Shouldn't the second argument be
"-Wa,-m68060" instead? At least according to the gas info page, there is a
"-m68060". Likewise, -m68851 is the default for when (-Wa,)-m68060 is
used, so I guess it cam be omitted then?
Might be useful to decide between more CPUs, e.g. special-case 030 and 040
and not only 020 and 060 as right now.
- Hubert
--
NetBSD - Free AND Open! (And of course secure, portable, yadda yadda)
Home |
Main Index |
Thread Index |
Old Index