Mathijs Brands <[EMAIL PROTECTED]> writes:
> Notice the single underscore before volatile.

That's definitely wrong --- fixed.

> Fixing this causes
> as (the SGI version, not GNU as) to choke on the '.global tas' statement.

> s_lock.c: At top level:
> s_lock.c:234: warning: `tas_dummy' defined but not used
> as: Error: /var/tmp/ccoUdrOb.s, line 421: undefined assembler operation: .global
>       .global tas
> gmake[4]: *** [s_lock.o] Error 1

Perhaps it should be ".globl"?  That's another common spelling.

Do you know whether anyone uses the GNU assembler on this platform,
or is it always SGI's?  I'm wondering if we need two versions of the
assembly code ...


I had missed the fact that s_lock.c contains some MIPS code.  Anyone
have any idea what versions of the MIPS series this code runs on?

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to