Blame elf/tst-filterobj-aux.c
|
Packit Service |
8822c3 |
/* Auxiliary filter object.
|
|
Packit Service |
8822c3 |
Contains symbols to be resolved in filtee, and one which doesn't.
|
|
Packit Service |
8822c3 |
|
|
Packit Service |
8822c3 |
Copyright (C) 2020 Free Software Foundation, Inc.
|
|
Packit Service |
8822c3 |
This file is part of the GNU C Library.
|
|
Packit Service |
8822c3 |
|
|
Packit Service |
8822c3 |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
8822c3 |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
8822c3 |
License as published by the Free Software Foundation; either
|
|
Packit Service |
8822c3 |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
8822c3 |
|
|
Packit Service |
8822c3 |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
8822c3 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
8822c3 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
8822c3 |
Lesser General Public License for more details.
|
|
Packit Service |
8822c3 |
|
|
Packit Service |
8822c3 |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
8822c3 |
License along with the GNU C Library; if not, see
|
|
Packit Service |
8822c3 |
<https://www.gnu.org/licenses/>. */
|
|
Packit Service |
8822c3 |
|
|
Packit Service |
8822c3 |
#include "tst-filterobj-filtee.h"
|
|
Packit Service |
8822c3 |
|
|
Packit Service |
8822c3 |
/* We never want to see the output of the auxiliary object. */
|
|
Packit Service |
8822c3 |
const char *get_text (void)
|
|
Packit Service |
8822c3 |
{
|
|
Packit Service |
8822c3 |
return "Hello from auxiliary filter object (FAIL)";
|
|
Packit Service |
8822c3 |
}
|
|
Packit Service |
8822c3 |
|
|
Packit Service |
8822c3 |
/* The filtee doesn't implement this symbol, so this should resolve. */
|
|
Packit Service |
8822c3 |
const char *get_text2 (void)
|
|
Packit Service |
8822c3 |
{
|
|
Packit Service |
8822c3 |
return "Hello from auxiliary filter object (PASS)";
|
|
Packit Service |
8822c3 |
}
|