1 /* Check LD_AUDIT for aarch64 ABI specifics.
2 Copyright (C) 2022-2023 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
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.
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
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <https://www.gnu.org/licenses/>. */
19 #include <array_length.h>
21 #include <support/check.h>
22 #include "tst-audit27mod.h"
28 float r
= tst_audit27_func_float (FUNC_FLOAT_ARG0
, FUNC_FLOAT_ARG1
,
29 FUNC_FLOAT_ARG2
, FUNC_FLOAT_ARG3
,
30 FUNC_FLOAT_ARG4
, FUNC_FLOAT_ARG5
,
31 FUNC_FLOAT_ARG6
, FUNC_FLOAT_ARG7
);
32 if (r
!= FUNC_FLOAT_RET
)
33 FAIL_EXIT1 ("tst_audit27_func_float() returned %a, expected %a",
38 double r
= tst_audit27_func_double (FUNC_DOUBLE_ARG0
, FUNC_DOUBLE_ARG1
,
39 FUNC_DOUBLE_ARG2
, FUNC_DOUBLE_ARG3
,
40 FUNC_DOUBLE_ARG4
, FUNC_DOUBLE_ARG5
,
41 FUNC_DOUBLE_ARG6
, FUNC_DOUBLE_ARG7
);
42 if (r
!= FUNC_DOUBLE_RET
)
43 FAIL_EXIT1 ("tst_audit27_func_double() returned %la, expected %la",
48 long double r
= tst_audit27_func_ldouble (FUNC_LDOUBLE_ARG0
,
56 if (r
!= FUNC_LDOUBLE_RET
)
57 FAIL_EXIT1 ("tst_audit27_func_ldouble() returned %La, expected %La",
64 #include <support/test-driver.c>