Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 15 Sep 2000 17:50:21 +0000 (17:50 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 15 Sep 2000 17:50:21 +0000 (17:50 +0000)
2000-09-15  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
clobber.
* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.

ChangeLog
sysdeps/unix/alpha/sysdep.h
sysdeps/unix/sysv/linux/arm/sysdep.h
sysdeps/unix/sysv/linux/m68k/sysdep.h

index 0292b05..3c95345 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-09-15  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
+       clobber.
+       * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
+       * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
+
 2000-09-15  Ulrich Drepper  <drepper@redhat.com>
 
        * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
index 80cb3e2..5bedcf9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995, 1996, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -131,7 +131,7 @@ __LABEL(name)                                       \
 
 #define inline_syscall_clobbers                                \
        "$1", "$2", "$3", "$4", "$5", "$6", "$7", "$8", \
-       "$22", "$23", "$24", "$25", "$27", "$28"
+       "$22", "$23", "$24", "$25", "$27", "$28", "memory"
 
 /* It is moderately important optimization-wise to limit the lifetime
    of the hard-register variables as much as possible.  Thus we copy
index 1413a48..1fae6c1 100644 (file)
        asm volatile ("swi      %1      @ syscall " #name       \
                     : "=r" (_a1)                               \
                     : "i" (SYS_ify(name)) ASM_ARGS_##nr        \
-                    : "a1");                                   \
+                    : "a1" : "memory");                        \
        _sys_result = _a1;                                      \
      }                                                         \
      if (_sys_result >= (unsigned int) -4095)                  \
index d445471..e10c788 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Written by Andreas Schwab, <schwab@issan.informatik.uni-dortmund.de>,
    December 1995.
@@ -171,7 +171,7 @@ SYSCALL_ERROR_LABEL:                                                              \
        asm volatile ("trap #0"                         \
                     : "=d" (_d0)                       \
                     : "0" (_d0) ASM_ARGS_##nr          \
-                    : "d0");                           \
+                    : "d0" : "memory");                \
        _sys_result = _d0;                              \
      }                                                 \
      if (_sys_result >= (unsigned int) -4095)          \