Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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)