]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S
Remove "Contributed by" lines
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / sparc / sparc32 / pipe.S
CommitLineData
2b778ceb 1/* Copyright (C) 1997-2021 Free Software Foundation, Inc.
f752bfe3 2 This file is part of the GNU C Library.
f752bfe3
UD
3
4 The GNU C Library is free software; you can redistribute it and/or
41bdb6e2
AJ
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.
f752bfe3
UD
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
41bdb6e2 12 Lesser General Public License for more details.
f752bfe3 13
41bdb6e2 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/>. */
f752bfe3
UD
17
18#include <sysdep.h>
131fd126 19
043cee37
RM
20 .text
21 .globl __syscall_error
22ENTRY(__libc_pipe)
23 mov %o0, %o2 /* Save PIPEDES. */
24 mov SYS_ify(pipe),%g1
25 ta 0x10
26 bcc 1f
27 mov %o7, %g1
28 call __syscall_error
29 mov %g1, %o7
301: st %o0, [%o2] /* PIPEDES[0] = %o0; */
31 st %o1, [%o2 + 4] /* PIPEDES[1] = %o1; */
f752bfe3 32 retl
043cee37
RM
33 clr %o0
34END(__libc_pipe)
f752bfe3 35
f752bfe3 36weak_alias (__libc_pipe, __pipe)
37ba7d66 37libc_hidden_def (__pipe)
f752bfe3 38weak_alias (__libc_pipe, pipe)