Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 17 Sep 1999 16:59:43 +0000 (16:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 17 Sep 1999 16:59:43 +0000 (16:59 +0000)
1999-09-17  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
to override user settings.

1999-09-17  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
using a pointer to it.

ChangeLog
sysdeps/i386/Makefile
sysdeps/unix/sysv/linux/semctl.c

index 5940f6d..6b4c4a3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+1999-09-17  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
+       to override user settings.
+
+1999-09-17  Andreas Schwab  <schwab@suse.de>
+
+       * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
+       using a pointer to it.
+
 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
 
        * time/getdate.c (__getdate_r): Pass correct year to check_mday.
index 1d62d10..3e16422 100644 (file)
@@ -8,7 +8,7 @@ long-double-fcts = yes
 ifeq ($(subdir),csu)
 # On i686 we must avoid generating the trampoline functions generated
 # to get the GOT pointer.
-CFLAGS-initfini.s += -march=i386
+CFLAGS-initfini.s += -march=i386 -mcpu=i386
 endif
 
 ifeq ($(subdir),db2)
index 4bc63bd..7a29d7c 100644 (file)
@@ -40,15 +40,15 @@ union semun
 int
 semctl (int semid, int semnum, int cmd, ...)
 {
-  union semun *arg;
+  union semun arg;
   va_list ap;
 
   va_start (ap, cmd);
 
-  /* Get a pointer the argument.  */
-  arg = &va_arg (ap, union semun);
+  /* Get the argument.  */
+  arg = va_arg (ap, union semun);
 
   va_end (ap);
 
-  return INLINE_SYSCALL (ipc, 5, IPCOP_semctl, semid, semnum, cmd, arg);
+  return INLINE_SYSCALL (ipc, 5, IPCOP_semctl, semid, semnum, cmd, &arg);
 }