Blame elf/markermodMARKER-VALUE.c
|
Packit Bot |
bcd2c7 |
/* Source file template for building shared objects with marker functions.
|
|
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 |
/* MARKER and VALUE must be set on the compiler command line. */
|
|
Packit Bot |
bcd2c7 |
|
|
Packit Bot |
bcd2c7 |
#ifndef MARKER
|
|
Packit Bot |
bcd2c7 |
# error MARKER not defined
|
|
Packit Bot |
bcd2c7 |
#endif
|
|
Packit Bot |
bcd2c7 |
|
|
Packit Bot |
bcd2c7 |
int
|
|
Packit Bot |
bcd2c7 |
MARKER (void)
|
|
Packit Bot |
bcd2c7 |
{
|
|
Packit Bot |
bcd2c7 |
return VALUE;
|
|
Packit Bot |
bcd2c7 |
}
|