Commit f454d626 authored by Bruce Momjian's avatar Bruce Momjian

On Solaris ASM, / '/' is the comment for x86, while '!' is the comment

for Sparc

Robert Lor
parent c51c2777
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
! solaris_sparc.s -- compare and swap for solaris_sparc ! solaris_sparc.s -- compare and swap for solaris_sparc
!======================================================================= !=======================================================================
! Fortunately the Sun compiler can process cpp conditionals with -P
! '/' is the comment for x86, while '!' is the comment for Sparc
#if defined(__sparcv9) || defined(__sparc) #if defined(__sparcv9) || defined(__sparc)
.section ".text" .section ".text"
......
!======================================================================= /=======================================================================
! solaris_i386.s -- compare and swap for solaris_i386 / solaris_i386.s -- compare and swap for solaris_i386
!======================================================================= /=======================================================================
! Fortunately the Sun compiler can process cpp conditionals with -P / Fortunately the Sun compiler can process cpp conditionals with -P
/ '/' is the comment for x86, while '!' is the comment for Sparc
.file "tas.s" .file "tas.s"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment