Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0622821

Browse files
committed
Mention that gcc/sparc generates sparcv7 binaries.
1 parent 45ec63c commit 0622821

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/include/storage/s_lock.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
6767
* Portions Copyright (c) 1994, Regents of the University of California
6868
*
69-
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.153 2006/05/17 23:57:03 momjian Exp $
69+
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.154 2006/05/18 16:02:30 momjian Exp $
7070
*
7171
*-------------------------------------------------------------------------
7272
*/
@@ -313,7 +313,8 @@ tas(volatile slock_t *lock)
313313

314314
/*
315315
* See comment in /pg/backend/port/tas/solaris_sparc.s for why this
316-
* uses "ldstub", and that file uses "cas".
316+
* uses "ldstub", and that file uses "cas". gcc currently generates
317+
* sparcv7-targeted binaries, so "cas" use isn't possible.
317318
*/
318319
__asm__ __volatile__(
319320
" ldstub [%2], %0 \n"

0 commit comments

Comments
 (0)