Blame elf/tst-glibc-hwcaps-mask.c

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