summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Kehoe <brendan@zen.org>1995-04-15 02:07:14 +0000
committerBrendan Kehoe <brendan@zen.org>1995-04-15 02:07:14 +0000
commitdfd5ddb713a465a04eb27dc1fe554d218b20c7ff (patch)
tree2f85c70ce1abeb9d1eadf4155ec849a61d1ee674
parentdce38123d0fe012adc6e2eabe6d55ab3147aee0d (diff)
* sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be preprocessor comments, not assembler comments.
* sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be preprocessor comments, not assembler comments.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/bsd/osf/alpha/start.S28
2 files changed, 18 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index d78f6952b0..eaae38382b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org)
+ * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be
+ preprocessor comments, not assembler comments.
+
* sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.
Fri Apr 14 15:53:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
diff --git a/sysdeps/unix/bsd/osf/alpha/start.S b/sysdeps/unix/bsd/osf/alpha/start.S
index 52eb03667f..f3995a2fd6 100644
--- a/sysdeps/unix/bsd/osf/alpha/start.S
+++ b/sysdeps/unix/bsd/osf/alpha/start.S
@@ -20,40 +20,42 @@ Cambridge, MA 02139, USA. */
.comm errno, 4
-!.sdata
-!.globl STARTFRM
-!STARTFRM = 0
+#if 0
+.sdata
+.globl STARTFRM
+STARTFRM = 0
+#endif
.text
ENTRY(__start)
lda sp, -16(sp)
stq zero, 8(sp)
- ! This branch puts the address of the current insn in t0.
+ /* This branch puts the address of the current insn in t0. */
br t0, 10f
10:
- ! We set the GP register by using the address of the ldgp
- ! (what we just put into t0).
+ /* We set the GP register by using the address of the ldgp */
+ /* (what we just put into t0). */
ldgp gp, 0(t0)
- ! get argc
+ /* get argc */
ldl a0, 16(sp)
- ! get argv
+ /* get argv */
lda a1, 24(sp)
- ! move ahead to envp
+ /* move ahead to envp */
s8addq a0, a1, a2
addq a2, 0x8, a2
- ! Store in environ.
+ /* Store in environ. */
stq a2, environ
- ! Clear out errno.
-! ldgp gp, 0(t12)
+ /* Clear out errno. */
+/* ldgp gp, 0(t12) */
stl zero, errno
- ! Call main.
+ /* Call main. */
jsr ra, main
ldgp gp, 0(ra)