From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Kuhn Date: Tue, 06 Jan 2004 17:10:40 +0100 Subject: [U-Boot-Users] Re: [uClinux-dev] u-boot pre-loader and bdm helper files for M5282EVB References: <3FF1A717.2090602@metrowerks.com> <200401052126.42857.swood@rochester.rr.com> Message-ID: <3FFADE00.7040204@metrowerks.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Stuart Wood wrote: > mcf5xxx.S:72: Error: operands mismatch -- statement `move.l sp,al' ignored I didn't used that file for the 5282 pre-bootloader. I adopted boot.S from the 5272 pre-bootloader, instead. > Also what goes the -r option mean in > > m68k-elf-gcc -r -o mcf5xxx.o mcf5xxx.s "-o" would add startfiles and libc (which is certainly not what you want in this context), so you need to add "-r" to prevent that. regards Bernhard