This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: m68k: m680x0 options are not passed to the assembler


	at least if configured --with-gnu-as, gcc should pass
	any -m680X0 options given on the command line to the
	assembler. At the moment, the user has to supply for
	example an additional -Wa,-m68060 option if -m68060
	was given.

This is bug in whatever unspecified configuration you are using (m68k-linux?).
The embedded configurations {m68k,m68000,m68020,etc}-{aout,coff} handle this
correctly.  See the ASM_SPEC definition in m68k-none.h.  You could add
something similar to the ASM_SPEC definition in whatever tm.h file you are
using.  Or we could perhaps generalize this, e.g. put a CPU_ASM_SPEC in
m68k.h which handles every CPU option, and then use %(CPU_ASM_SPEC) to
include it in the various ASM_SPEC definitions that need it.

Jim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]