blob: 2313625e66a1f98d8eb4b0005da9529acfd672a5 (
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
|
/*
* File: ldutil.h
* Date: 15 March 1998
* Acct: David Powell (dep)
* Desc: Miscellanious utility functions
*
*
* Acct: Sandy Harvie (charvie)
* Date: 27 March 2019
* Desc: Modified for x86-64
*/
#ifndef _ldutil_h_
#define _ldutil_h_
#include "ldtypes.h"
#ifdef __cplusplus
extern "C"
{
#endif
void _ldverify(int test, const char *msg);
int _ldzero();
unsigned long _ldelfhash(const char *name);
int _ldtryopen(const char *filename, const char *path);
void _ldmapsect(int fd, unsigned long baseaddr, Elf64_Phdr *phdr, int textrel);
void _ldloadobj(module_t *module);
void _ldrelocobj(module_t *module);
void _ldcleanup();
ldinit_t _ldstart(char **environ, auxv_t *auxv);
void _ldrelocplt(module_t *module);
void _ldpltgot_init(module_t *module);
#ifdef __cplusplus
}
#endif
#endif /* _ldutil_h_ */
|