diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-03-21 20:33:04 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-03-21 20:33:04 +0000 |
commit | 1a1f354cd714859c39f6517fdc13bfb175ec8815 (patch) | |
tree | b48fd3d30f72042ec01d0ec27757d246f4c2a588 | |
parent | 71e4ceb22b8b04081a28b07d0cea403ad3533c0d (diff) |
(CALL_MCOUNT): Clear this macro so ENTRY(__syscall_error) doesn't
insert a call to _mcount, which clobbers %eax.
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/sysdep.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.S b/sysdeps/unix/sysv/linux/i386/sysdep.S index 4b86d1dfe7..a686495818 100644 --- a/sysdeps/unix/sysv/linux/i386/sysdep.S +++ b/sysdeps/unix/sysv/linux/i386/sysdep.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -45,6 +45,9 @@ _errno = errno /* This name is expected by hj's libc.so.5 startup code. */ The code for Linux is almost identical to the canonical Unix/i386 code, except that the error number in %eax is negated. */ +#undef CALL_MCOUNT +#define CALL_MCOUNT /* Don't insert the profiling call, it clobbers %eax. */ + ENTRY (__syscall_error) negl %eax |