]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Mention that gcc/sparc generates sparcv7 binaries.
authorBruce Momjian <bruce@momjian.us>
Thu, 18 May 2006 16:02:30 +0000 (16:02 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 18 May 2006 16:02:30 +0000 (16:02 +0000)
src/include/storage/s_lock.h

index 6a13565672eaaf0cd9c72e8291da3d430cf68041..c0cce4b14b0ee6aba3a38feffa7e0fd48cef24f7 100644 (file)
@@ -66,7 +66,7 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- *       $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.153 2006/05/17 23:57:03 momjian Exp $
+ *       $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.154 2006/05/18 16:02:30 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -313,7 +313,8 @@ tas(volatile slock_t *lock)
 
        /*
         *      See comment in /pg/backend/port/tas/solaris_sparc.s for why this
-        *      uses "ldstub", and that file uses "cas".
+        *      uses "ldstub", and that file uses "cas".  gcc currently generates
+        *      sparcv7-targeted binaries, so "cas" use isn't possible.
         */
        __asm__ __volatile__(
                "       ldstub  [%2], %0        \n"