]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/powerpc/powerpc32/bsd-setjmp.S
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / sysdeps / powerpc / powerpc32 / bsd-setjmp.S
CommitLineData
5c76ff27 1/* BSD `setjmp' entry point to `sigsetjmp (..., 1)'. PowerPC32/64 version.
2b778ceb 2 Copyright (C) 1994-2021 Free Software Foundation, Inc.
e61abf83
UD
3 This file is part of the GNU C Library.
4
5 The GNU C Library is free software; you can redistribute it and/or
41bdb6e2
AJ
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
e61abf83
UD
9
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
41bdb6e2 13 Lesser General Public License for more details.
e61abf83 14
41bdb6e2 15 You should have received a copy of the GNU Lesser General Public
59ba27a6 16 License along with the GNU C Library; if not, see
5a82c748 17 <https://www.gnu.org/licenses/>. */
5c76ff27
UD
18#include <shlib-compat.h>
19#include <libc-symbols.h>
e61abf83
UD
20#include <sysdep.h>
21
5c76ff27
UD
22#if defined SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)
23
9b9ef823 24ENTRY (__novmxsetjmp)
217eb19b 25 li r4,1 /* Set second argument to 1. */
b0e196a4 26 b __novmx__sigsetjmp@local
9b9ef823
UD
27END (__novmxsetjmp)
28strong_alias (__novmxsetjmp, __novmx__setjmp)
9b874b2f 29compat_symbol (libc, __novmxsetjmp, setjmp, GLIBC_2_0)
5929563f 30
5c76ff27
UD
31#endif /* defined SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4) ) */
32
9b9ef823 33ENTRY (__vmxsetjmp)
5c76ff27 34 li r4,1 /* Set second argument to 1. */
b0e196a4 35 b __vmx__sigsetjmp@local
9b9ef823
UD
36END (__vmxsetjmp)
37strong_alias (__vmxsetjmp, __vmx__setjmp)
38strong_alias (__vmx__setjmp, __setjmp)
9b874b2f 39versioned_symbol (libc, __vmxsetjmp, setjmp, GLIBC_2_3_4)