repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
string: Fix tester build with fortify enable with gcc 6
[glibc.git]
/
elf
/
tst-relsort1.c
blob
775c968e1f7e6e5063c67bf5155e51233abadc98
1
#include <dlfcn.h>
2
#include <stdio.h>
3
4
5
static int
6
do_test
(
void
)
7
{
8
const char
lib
[] =
"$ORIGIN/tst-relsort1mod1.so"
;
9
void
*
h
=
dlopen
(
lib
,
RTLD_NOW
);
10
if
(
h
==
NULL
)
11
{
12
puts
(
dlerror
());
13
return
1
;
14
}
15
return
0
;
16
}
17
18
#include <support/test-driver.c>