]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S
Remove "Contributed by" lines
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / sparc / sparc32 / vfork.S
CommitLineData
2b778ceb 1/* Copyright (C) 2004-2021 Free Software Foundation, Inc.
cd2fbe58 2 This file is part of the GNU C Library.
cd2fbe58
UD
3
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
59ba27a6 15 License along with the GNU C Library; if not, see
5a82c748 16 <https://www.gnu.org/licenses/>. */
cd2fbe58
UD
17
18#include <sysdep.h>
d3a4a571 19#include <tcb-offsets.h>
cd2fbe58 20
d3a4a571 21 .text
7ccbe1a1 22 .globl __syscall_error
b87c1ec3 23ENTRY(__libc_vfork)
d3a4a571
UD
24 LOADSYSCALL(vfork)
25 ta 0x10
7ccbe1a1
RM
26 bcc 2f
27 mov %o7, %g1
7ccbe1a1
RM
28 call __syscall_error
29 mov %g1, %o7
302: sub %o1, 1, %o1
d3a4a571 31 andcc %o0, %o1, %o0
d3a4a571
UD
321: retl
33 nop
b87c1ec3 34END(__libc_vfork)
cd2fbe58 35
43c29487 36#if IS_IN (libc)
b87c1ec3
AJ
37weak_alias (__libc_vfork, vfork)
38strong_alias (__libc_vfork, __vfork)
73b4ce64 39libc_hidden_def (__vfork)
43c29487 40#endif