Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0622821

Browse files
committed
Mention that gcc/sparc generates sparcv7 binaries.
1 parent45ec63c commit0622821

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)

[8]ページ先頭

©2009-2025 Movatter.jp