[uCsimm] Re: [UCLINUX] Assembler oddities

From: Vladimir Gurevich (vgurevic@cisco.com)
Date: Wed Mar 22 2000 - 16:15:22 EST


Hello Tom,

Tom Walsh wrote:

> Actually, that by itself does not work, I have to say: "...
> -Wa,--bitwise-or ..." in the compiler flags for it to work. This had
> me stumped until I looked at the options used to compile crt0_rom.S
> while grep'ing the output of a kernel compilation.

Actually, it was me who added this stuff to the Makefile to make
M68EZ328.h
work in assembler context :)

Well, you need -Wa, only if you want to use gcc to compile your assembly
sources. If you want to use gas directly (and that's what I mentioned in
my
email) -Wa, is not needed.

Happy hacking
Vladimir

-- 
+------------------+------------------------+--------------------------+
                   |      |          |      | 
                   |     :|:        :|:     | phone         408-525-9707
Vladimir Gurevich  |    :|||:      :|||:    | fax           408-525-9707
Software Engineer  | .:|||||||:..:|||||||:. |
      RABU         |      CiscoSystems      | e-mail  vgurevic@cisco.com
                   |                        | location SJ-7-2 Cube D1-12
                   |  http://www.cisco.com  | 
+------------------+------------------------+--------------------------+
This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:35 EST