This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
PATCH: Fix ia64 build
- From: "H. J. Lu" <hjl at lucon dot org>
- To: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Sat, 3 May 2003 12:58:09 -0700
- Subject: PATCH: Fix ia64 build
If __NR_semtimedop is not defined in kernel header, glibc will fail to
build. Here is a patch. I hope it is right.
H.J.
---
2003-05-02 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/ia64/semtimedop.S: New.
--- sysdeps/unix/sysv/linux/ia64/semtimedop.S.ia64 2003-05-02 09:55:59.000000000 -0700
+++ sysdeps/unix/sysv/linux/ia64/semtimedop.S 2003-05-02 09:51:28.000000000 -0700
@@ -0,0 +1,30 @@
+/* Copyright (C) 2003 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
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+
+#include <sysdep.h>
+#include <asm/unistd.h>
+
+#ifndef __NR_semtimedop
+# define __NR_semtimedop 1247
+#endif
+
+PSEUDO (semtimedop, semtimedop, 4)
+ ret
+PSEUDO_END(semtimedop)
+libc_hidden_def (semtimedop)