Skip to content

Commit f454d62

Browse files
committed
On Solaris ASM, / '/' is the comment for x86, while '!' is the comment
for Sparc Robert Lor
1 parent c51c277 commit f454d62

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/backend/port/tas/solaris_sparc.s

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
! solaris_sparc.s -- compare and swap for solaris_sparc
33
!=======================================================================
44

5+
! Fortunately the Sun compiler can process cpp conditionals with -P
6+
7+
! '/' is the comment for x86, while '!' is the comment for Sparc
8+
59
#if defined(__sparcv9) || defined(__sparc)
610

711
.section ".text"

src/backend/port/tas/solaris_x86.s

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
!=======================================================================
2-
! solaris_i386.s -- compare and swap for solaris_i386
3-
!=======================================================================
1+
/=======================================================================
2+
/ solaris_i386.s -- compare and swap for solaris_i386
3+
/=======================================================================
44

5-
! Fortunately the Sun compiler can process cpp conditionals with -P
5+
/ Fortunately the Sun compiler can process cpp conditionals with -P
6+
7+
/ '/' is the comment for x86, while '!' is the comment for Sparc
68

79
.file "tas.s"
810

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy