]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(CALL_MCOUNT): Clear this macro so ENTRY(__syscall_error) doesn't
authorUlrich Drepper <drepper@redhat.com>
Fri, 21 Mar 1997 20:33:04 +0000 (20:33 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 21 Mar 1997 20:33:04 +0000 (20:33 +0000)
insert a call to _mcount, which clobbers %eax.

sysdeps/unix/sysv/linux/i386/sysdep.S

index 4b86d1dfe745bf751647aba1be8522da7a716371..a6864958184836f77c841bcd963733bfd0b52076 100644 (file)
@@ -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