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
Support Intel processor model 6 and model 0x2.
[glibc.git]
/
elf
/
preloadtest.c
blob
7ea10b9b5bd011036c84679331cc0a0942930a8d
1
#include <stdio.h>
2
3
#include
"testobj.h"
4
5
int
6
main
(
void
)
7
{
8
int
res
=
preload
(
42
);
9
10
printf
(
"preload (42) = %d, %s
\n
"
,
res
,
res
==
92
?
"ok"
:
"wrong"
);
11
12
return
res
!=
92
;
13
}
14
15
int
16
foo
(
int
a
)
17
{
18
return
a
;
19
}