mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Remove obsolete _include/dyld_
As per b5048f6cf1
it was necessary by libunwind, which we aren't building.
This commit is contained in:
parent
6dc4908d12
commit
91ce95fb49
4 changed files with 0 additions and 3430 deletions
|
@ -1,28 +0,0 @@
|
|||
#ifndef __DLFCN_H
|
||||
#define __DLFCN_H
|
||||
|
||||
typedef struct
|
||||
{
|
||||
const char *dli_fname; /* File name of defining object. */
|
||||
void *dli_fbase; /* Load address of that object. */
|
||||
const char *dli_sname; /* Name of nearest symbol. */
|
||||
void *dli_saddr; /* Exact value of nearest symbol. */
|
||||
} Dl_info;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern int dl_iterate_phdr (int (*__callback) (struct dl_phdr_info *,
|
||||
size_t, void *),
|
||||
void *__data);
|
||||
|
||||
/* Fill in *INFO with the following information about ADDRESS.
|
||||
Returns 0 iff no shared object's segments contain that address. */
|
||||
extern int dladdr (const void *__address, Dl_info *__info);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __DLFCN_H */
|
|
@ -1,31 +0,0 @@
|
|||
#ifndef __DYLD_H
|
||||
#define __DYLD_H
|
||||
|
||||
#include <elf.h>
|
||||
|
||||
struct dyld_info {
|
||||
Elf32_Addr base;
|
||||
const char *strtab;
|
||||
const Elf32_Sym *symtab;
|
||||
struct {
|
||||
Elf32_Word nbucket;
|
||||
Elf32_Word nchain;
|
||||
const Elf32_Word *bucket;
|
||||
const Elf32_Word *chain;
|
||||
} hash;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int dyld_load(const void *shlib, Elf32_Addr base,
|
||||
Elf32_Addr (*resolve)(void *, const char *), void *resolve_data,
|
||||
struct dyld_info *info, const char **error_out);
|
||||
void *dyld_lookup(const char *symbol, struct dyld_info *info);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __DYLD_H */
|
File diff suppressed because it is too large
Load diff
|
@ -1,28 +0,0 @@
|
|||
#ifndef __LINK_H
|
||||
#define __LINK_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <elf.h>
|
||||
|
||||
#define ElfW(type) Elf32_##type
|
||||
|
||||
struct dl_phdr_info {
|
||||
ElfW(Addr) dlpi_addr;
|
||||
const char *dlpi_name;
|
||||
const ElfW(Phdr) *dlpi_phdr;
|
||||
ElfW(Half) dlpi_phnum;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern int dl_iterate_phdr (int (*__callback) (struct dl_phdr_info *,
|
||||
size_t, void *),
|
||||
void *__data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __LINK_H */
|
Loading…
Reference in a new issue