change "pushl [r0](ap)" ---> "pushl (ap)[r0]" ... the old version

made a reference to an external symbol "r0" rather that used register r0.
This commit is contained in:
chuck 2001-09-06 18:42:58 +00:00
parent 283601a95c
commit 759fa4641f
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: execle.S,v 1.1 2001/07/01 13:31:18 ragge Exp $ */
/* $NetBSD: execle.S,v 1.2 2001/09/06 18:42:58 chuck Exp $ */
/*
* Copyright (c) 2001 Ludd, University of Lule}, Sweden. All rights reserved.
*
@ -33,7 +33,7 @@
ENTRY(execle, 0)
movl (ap),r0 # Get number of args
pushl [r0](ap) # Push last arg (envp)
pushl (ap)[r0] # Push last arg (envp)
pushal 8(ap) # Push pointer to argv vector
pushl 4(ap) # Push path
calls $3,_C_LABEL(execve)