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
powerpc: Add optimized strlen for POWER10
[glibc.git]
/
elf
/
tst-dlmopen3.c
blob
81675077847cc95d8a655e4c2a0b2f4e001f489a
1
#include <dlfcn.h>
2
#include <stdio.h>
3
4
5
static int
6
do_test
(
void
)
7
{
8
void
*
h
=
dlmopen
(
LM_ID_NEWLM
,
"$ORIGIN/tst-dlmopen1mod.so"
,
RTLD_LAZY
);
9
if
(
h
==
NULL
)
10
{
11
printf
(
"cannot get handle for %s: %s
\n
"
,
12
"tst-dlmopen1mod.so"
,
dlerror
());
13
return
1
;
14
}
15
16
/* Do not unload. */
17
18
return
0
;
19
}
20
21
#include <support/test-driver.c>