blob: 2ba8c7c2a13a423cfa745db8e92519efd8bb7867 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#include "u.h"
#include "../port/lib.h"
#include "../port/error.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include <a.out.h>
#include <dynld.h>
/*
* null kernel interface to dynld, to stop libinterp moaning
*/
void*
dynimport(Dynobj*, char*, ulong)
{
return nil;
}
void
dynobjfree(Dynobj*)
{
}
Dynobj*
kdynloadfd(int fd, Dynsym *tab, int ntab)
{
USED(fd, tab, ntab);
return nil;
}
int
kdynloadable(int)
{
return 0;
}
Dynobj*
dynld(int)
{
return nil;
}
int
dynldable(int)
{
return 0;
}
|