diff options
author | Andy Wingo <wingo@pobox.com> | 2018-07-04 14:32:45 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2018-07-20 11:42:13 +0200 |
commit | e95f15c932650783f34253e396216c66050905f0 (patch) | |
tree | ef728f2fedc0c7abf5a3cb776ff343037dcebb20 /libguile/vm-engine.c | |
parent | 80ba0e2cb110983eeafe66a0ea0bf5dba8e25226 (diff) | |
download | guile-e95f15c932650783f34253e396216c66050905f0.tar.gz |
Add support for reading ELF symbol table from C
* libguile/loader.c (scm_i_program_address_range): New function.
Currently unused, will wire up once we correct the compiler to emit
symbols whose values are relative to the base addr. Will be used by
JIT so it needs to be fast.
(register_elf): Rework to be less verbose, and record symtab/strtab.
(struct mapped_elf_image): Add symtab and strtab members.
(load_thunk_from_memory, process_dynamic_segment): Parse out DT_SYMTAB
and DT_STRTAB.
(Elf_Sym): New definition.
Diffstat (limited to 'libguile/vm-engine.c')
0 files changed, 0 insertions, 0 deletions