[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r8393 - in /fsf/trunk/ports: ./ sysdeps/unix/bsd/osf/alpha/ sysdeps/unix/bsd/osf/alpha/bits/
- To: commits@xxxxxxxxxx
- Subject: [commits] r8393 - in /fsf/trunk/ports: ./ sysdeps/unix/bsd/osf/alpha/ sysdeps/unix/bsd/osf/alpha/bits/
- From: eglibc@xxxxxxxxxx
- Date: Thu, 30 Apr 2009 21:25:27 -0000
Author: eglibc
Date: Thu Apr 30 14:25:27 2009
New Revision: 8393
Log:
Import glibc-ports-mainline for 2009-04-30
Added:
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/bits/
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/bits/stat.h
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/brk.S
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/dl-brk.S
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/fork.S
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/killpg.S
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/recv.S
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/send.S
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigblock.S
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigpause.S
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigsetmask.S
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigvec.S
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/start.S
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/syscalls.list
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sysdep.h
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/vhangup.S
fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/waitpid.c
Modified:
fsf/trunk/ports/README
Modified: fsf/trunk/ports/README
==============================================================================
--- fsf/trunk/ports/README (original)
+++ fsf/trunk/ports/README Thu Apr 30 14:25:27 2009
@@ -40,4 +40,4 @@
the --enable-add-ons option when running glibc's configure script.
-$Id: README,v 1.2 2006/02/28 08:23:38 roland Exp $
+$Id$
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/bits/stat.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/bits/stat.h (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/bits/stat.h Thu Apr 30 14:25:27 2009
@@ -1,0 +1,79 @@
+/* Copyright (C) 1993, 1996, 1997, 1999, 2000 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. */
+
+#ifndef _SYS_STAT_H
+# error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
+#endif
+
+#include <bits/types.h>
+
+/* Structure describing file characteristics. */
+struct stat
+ {
+ int st_dev; /* Device. */
+ unsigned int st_ino; /* File serial number. */
+ unsigned int st_mode; /* File mode. */
+ unsigned short st_nlink; /* Link count. */
+ unsigned int st_uid; /* User ID of the file's owner. */
+ unsigned int st_gid; /* Group ID of the file's group.*/
+ int st_rdev; /* Device number, if device. */
+
+ long st_size; /* Size of file, in bytes. */
+
+ int st_atime; /* Time of last access. */
+ int st_atime_usec;
+ int st_mtime; /* Time of last modification. */
+ int st_mtime_usec;
+ int st_ctime; /* Time of last status change. */
+ int st_ctime_usec;
+
+ __blksize_t st_blksize; /* Optimal block size for I/O. */
+#define _STATBUF_ST_BLKSIZE /* Tell code we have this member. */
+
+ __blkcnt_t st_blocks; /* Number of 512-byte blocks allocated. */
+ unsigned int st_flags;
+ unsigned int st_gen;
+ };
+
+/* Encoding of the file mode. */
+
+#define __S_IFMT 0170000 /* These bits determine file type. */
+
+/* File types. */
+#define __S_IFDIR 0040000 /* Directory. */
+#define __S_IFCHR 0020000 /* Character device. */
+#define __S_IFBLK 0060000 /* Block device. */
+#define __S_IFREG 0100000 /* Regular file. */
+#define __S_IFIFO 0010000 /* FIFO. */
+
+#define __S_IFLNK 0120000 /* Symbolic link. */
+#define __S_IFSOCK 0140000 /* Socket. */
+
+/* POSIX.1b objects. */
+#define __S_TYPEISMQ(buf) (0)
+#define __S_TYPEISSEM(buf) (0)
+#define __S_TYPEISSHM(buf) (0)
+
+/* Protection bits. */
+
+#define __S_ISUID 04000 /* Set user ID on execution. */
+#define __S_ISGID 02000 /* Set group ID on execution. */
+#define __S_ISVTX 01000 /* Save swapped text after use (sticky). */
+#define __S_IREAD 0400 /* Read by owner. */
+#define __S_IWRITE 0200 /* Write by owner. */
+#define __S_IEXEC 0100 /* Execute by owner. */
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/brk.S
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/brk.S (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/brk.S Thu Apr 30 14:25:27 2009
@@ -1,0 +1,54 @@
+/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Brendan Kehoe (brendan@xxxxxxx).
+
+ 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>
+
+#ifndef SYS_brk
+#define SYS_brk 17
+#endif
+
+#ifndef HAVE_GNU_LD
+#define __end end
+#endif
+
+.data
+ .extern __end,8
+ .globl __curbrk
+__curbrk:
+ .quad __end
+
+.text
+ENTRY(__brk)
+ /* FIXME We do not check for asking for less than a page yet. */
+ ldiq v0, SYS_brk
+ call_pal PAL_callsys
+ bne a3, error
+
+ /* Update __curbrk and exit cleanly. */
+/* ldgp gp, 0(t12) */
+ stq a0, __curbrk
+
+ mov zero, v0
+ ret
+ /* What a horrible way to die. */
+error: ldgp gp,0(gp)
+ jmp zero,syscall_error
+ .end __brk
+
+weak_alias (__brk, brk)
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/dl-brk.S
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/dl-brk.S (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/dl-brk.S Thu Apr 30 14:25:27 2009
@@ -1,0 +1,1 @@
+#include <brk.S>
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/fork.S
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/fork.S (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/fork.S Thu Apr 30 14:25:27 2009
@@ -1,0 +1,28 @@
+/* Copyright (C) 1993, 1995, 1997, 2002 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Brendan Kehoe (brendan@xxxxxxx).
+
+ 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>
+
+SYSCALL__ (fork, 0)
+ cmovne a4, 0, v0
+ ret
+ .end __fork
+libc_hidden_def (__fork)
+
+weak_alias (__fork, fork)
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/killpg.S
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/killpg.S (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/killpg.S Thu Apr 30 14:25:27 2009
@@ -1,0 +1,27 @@
+/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Brendan Kehoe (brendan@xxxxxxx).
+
+ 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 <sys/ult_syscall.h>
+#define SYS_killpg SYS_ult_killpg
+
+SYSCALL (killpg, 2)
+ ret
+ .end killpg
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/recv.S
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/recv.S (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/recv.S Thu Apr 30 14:25:27 2009
@@ -1,0 +1,26 @@
+/* Copyright (C) 1991, 1992, 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
+ 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 <sys/ult_syscall.h>
+#define SYS_recv SYS_ult_recv
+
+SYSCALL (recv, 4)
+ ret
+ .end recv
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/send.S
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/send.S (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/send.S Thu Apr 30 14:25:27 2009
@@ -1,0 +1,26 @@
+/* Copyright (C) 1991, 1992, 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
+ 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 <sys/ult_syscall.h>
+#define SYS_send SYS_ult_send
+
+SYSCALL (send, 4)
+ ret
+ .end send
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigblock.S
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigblock.S (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigblock.S Thu Apr 30 14:25:27 2009
@@ -1,0 +1,29 @@
+/* Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Brendan Kehoe (brendan@xxxxxxx).
+
+ 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 <sys/ult_syscall.h>
+#define SYS_sigblock SYS_ult_sigblock
+
+SYSCALL__ (sigblock, 1)
+ ret
+ .end __sigblock
+
+weak_alias (__sigblock, sigblock)
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigpause.S
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigpause.S (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigpause.S Thu Apr 30 14:25:27 2009
@@ -1,0 +1,30 @@
+/* Copyright (C) 1993,95,97,2002 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Brendan Kehoe (brendan@xxxxxxx).
+
+ 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 <sys/ult_syscall.h>
+#define SYS_sigpause SYS_ult_sigpause
+
+SYSCALL__ (sigpause, 1)
+ ret
+ .end __sigpause
+libc_hidden_def (__sigpause)
+
+weak_alias (__sigpause, sigpause)
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigsetmask.S
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigsetmask.S (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigsetmask.S Thu Apr 30 14:25:27 2009
@@ -1,0 +1,29 @@
+/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Brendan Kehoe (brendan@xxxxxxx).
+
+ 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 <sys/ult_syscall.h>
+#define SYS_sigsetmask SYS_ult_sigsetmask
+
+SYSCALL__ (sigsetmask, 1)
+ ret
+ .end __sigsetmask
+
+weak_alias (__sigsetmask, sigsetmask)
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigvec.S
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigvec.S (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sigvec.S Thu Apr 30 14:25:27 2009
@@ -1,0 +1,29 @@
+/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Brendan Kehoe (brendan@xxxxxxx).
+
+ 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 <sys/ult_syscall.h>
+#define SYS_sigvec SYS_ult_sigvec
+
+SYSCALL__ (sigvec, 3)
+ ret
+ .end __sigvec
+
+weak_alias (__sigvec, sigvec)
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/start.S
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/start.S (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/start.S Thu Apr 30 14:25:27 2009
@@ -1,0 +1,83 @@
+/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Brendan Kehoe (brendan@xxxxxxx).
+
+ 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.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file with other
+ programs, and to distribute those programs without any restriction
+ coming from the use of this file. (The GNU Lesser General Public
+ License restrictions do apply in other respects; for example, they
+ cover modification of the file, and distribution when not linked
+ into another program.)
+
+ Note that people who make modified versions of this file are not
+ obligated to grant this special exception for their modified
+ versions; it is their choice whether to do so. The GNU Lesser
+ General Public License gives permission to release a modified
+ version without this exception; this exception also makes it
+ possible to release a modified version which carries forward this
+ exception.
+
+ 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>
+
+#if 0
+.sdata
+.globl STARTFRM
+STARTFRM = 0
+#endif
+
+.text
+ENTRY(__start)
+ lda sp, -16(sp)
+ stq zero, 8(sp)
+
+ /* This branch puts the address of the current insn in t0. */
+ br t0, 10f
+10:
+ /* We set the GP register by using the address of the ldgp */
+ /* (what we just put into t0). */
+ ldgp gp, 0(t0)
+
+ /* get argc */
+ ldl a0, 16(sp)
+
+ /* get argv */
+ lda a1, 24(sp)
+
+ /* move ahead to envp */
+ s8addq a0, a1, a2
+ addq a2, 0x8, a2
+
+ /* Store in environ. */
+ stq a2, environ
+
+ /* Clear out errno. */
+/* ldgp gp, 0(t12) */
+ stl zero, errno
+
+ /* Call main. */
+ jsr ra, main
+ ldgp gp, 0(ra)
+
+ mov v0, a0
+
+ jsr ra, exit
+ ldgp gp, 0(ra)
+
+ .end __start
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/syscalls.list
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/syscalls.list (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/syscalls.list Thu Apr 30 14:25:27 2009
@@ -1,0 +1,3 @@
+# File name Caller Syscall name # args Strong name Weak names
+
+wait4 - wait4 4 __wait4 wait4
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sysdep.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sysdep.h (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/sysdep.h Thu Apr 30 14:25:27 2009
@@ -1,0 +1,30 @@
+/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Brendan Kehoe (brendan@xxxxxxx).
+
+ 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. */
+
+/* OSF/1 does not precede the asm names of C symbols with a `_'. */
+#define NO_UNDERSCORES
+
+#include <sysdeps/unix/alpha/sysdep.h>
+
+#ifdef __ASSEMBLER__
+
+#include <machine/pal.h> /* get PAL_callsys */
+#include <regdef.h>
+
+#endif
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/vhangup.S
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/vhangup.S (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/vhangup.S Thu Apr 30 14:25:27 2009
@@ -1,0 +1,26 @@
+/* Copyright (C) 1991, 1992, 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
+ 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 <sys/ult_syscall.h>
+#define SYS_vhangup SYS_ult_vhangup
+
+SYSCALL (vhangup, 1)
+ ret
+ .end vhangup
Added: fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/waitpid.c
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/waitpid.c (added)
+++ fsf/trunk/ports/sysdeps/unix/bsd/osf/alpha/waitpid.c Thu Apr 30 14:25:27 2009
@@ -1,0 +1,1 @@
+#include <sysdeps/unix/bsd/bsd4.4/waitpid.c>