Blame elf/tst-glibc-hwcaps-mask.c
|
Packit Bot |
bcd2c7 |
/* Test that --glibc-hwcaps-mask works.
|
|
Packit Bot |
bcd2c7 |
Copyright (C) 2020 Free Software Foundation, Inc.
|
|
Packit Bot |
bcd2c7 |
This file is part of the GNU C Library.
|
|
Packit Bot |
bcd2c7 |
|
|
Packit Bot |
bcd2c7 |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Bot |
bcd2c7 |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Bot |
bcd2c7 |
License as published by the Free Software Foundation; either
|
|
Packit Bot |
bcd2c7 |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Bot |
bcd2c7 |
|
|
Packit Bot |
bcd2c7 |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Bot |
bcd2c7 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Bot |
bcd2c7 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Bot |
bcd2c7 |
Lesser General Public License for more details.
|
|
Packit Bot |
bcd2c7 |
|
|
Packit Bot |
bcd2c7 |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Bot |
bcd2c7 |
License along with the GNU C Library; if not, see
|
|
Packit Bot |
bcd2c7 |
<https://www.gnu.org/licenses/>. */
|
|
Packit Bot |
bcd2c7 |
|
|
Packit Bot |
bcd2c7 |
#include <support/check.h>
|
|
Packit Bot |
bcd2c7 |
|
|
Packit Bot |
bcd2c7 |
extern int marker1 (void);
|
|
Packit Bot |
bcd2c7 |
|
|
Packit Bot |
bcd2c7 |
static int
|
|
Packit Bot |
bcd2c7 |
do_test (void)
|
|
Packit Bot |
bcd2c7 |
{
|
|
Packit Bot |
bcd2c7 |
/* The marker1 function in elf/markermod1.so returns 1. */
|
|
Packit Bot |
bcd2c7 |
TEST_COMPARE (marker1 (), 1);
|
|
Packit Bot |
bcd2c7 |
return 0;
|
|
Packit Bot |
bcd2c7 |
}
|
|
Packit Bot |
bcd2c7 |
|
|
Packit Bot |
bcd2c7 |
#include <support/test-driver.c>
|