From d0f5536de6506e7425d78b4dc222cb444d2d8bde Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 13 May 1995 07:37:05 +0000 Subject: Include i386/asm.h and use ENTRY and EXT macros, instead of explicit _s. --- boot/syscall.S | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/boot/syscall.S b/boot/syscall.S index 1f6b7307..29be2478 100644 --- a/boot/syscall.S +++ b/boot/syscall.S @@ -17,11 +17,11 @@ You should have received a copy of the GNU General Public License along with the GNU Hurd; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ - .globl _errno +#include + + .globl EXT(errno) .text - .globl _syscall - .align 4 -_syscall: +ENTRY(syscall) pop %ecx pop %eax push %ecx @@ -29,6 +29,6 @@ _syscall: jb error ret error: - movl %eax,_errno + movl %eax,EXT(errno) movl $-1,%eax ret -- cgit v1.2.3