[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT/LIBELF PATCH 0/7] Port libelf from ELF Toolchain
This is an initial port of libelf, the ELF access library, from the official ELF Tool Chain: https://sourceforge.net/projects/elftoolchain/ Please note: Because of current incompatibilities with libvfscore, file-I/O related library symbols are commented out, for now. Simon Kuenzer (7): Copy from official ELF Tool Chain (0.7.1) Provide `README.md`, `COPYING.md`, `CONTRIBUTING.md` Add SLIST macro operation Add `__Unikraft__` configuration Integrate to Unikraft build system Provide `exportsyms.uk` Uncomment source files that depend on libvfscore CONTRIBUTING.md | 4 + COPYING.md | 7 + Config.uk | 7 + Makefile.uk | 68 + README.elftoolchain | 127 ++ README.md | 10 + _elftc.h | 574 ++++++++ _libelf.h | 241 ++++ _libelf_ar.h | 57 + _libelf_config.h | 228 ++++ elf.c | 40 + elf_begin.c | 91 ++ elf_cntl.c | 58 + elf_data.c | 276 ++++ elf_end.c | 95 ++ elf_errmsg.c | 83 ++ elf_errno.c | 41 + elf_fill.c | 37 + elf_flag.c | 196 +++ elf_getarhdr.c | 45 + elf_getarsym.c | 56 + elf_getbase.c | 46 + elf_getident.c | 66 + elf_hash.c | 54 + elf_kind.c | 42 + elf_memory.c | 47 + elf_next.c | 64 + elf_open.c | 67 + elf_phnum.c | 65 + elf_rand.c | 57 + elf_rawfile.c | 51 + elf_scn.c | 237 ++++ elf_shnum.c | 65 + elf_shstrndx.c | 80 ++ elf_strptr.c | 132 ++ elf_types.m4 | 309 +++++ elf_update.c | 1215 +++++++++++++++++ elf_version.c | 50 + exportsyms.uk | 89 ++ gelf_cap.c | 150 +++ gelf_checksum.c | 56 + gelf_dyn.c | 152 +++ gelf_ehdr.c | 167 +++ gelf_fsize.c | 60 + gelf_getclass.c | 37 + gelf_move.c | 159 +++ gelf_phdr.c | 177 +++ gelf_rel.c | 162 +++ gelf_rela.c | 165 +++ gelf_shdr.c | 130 ++ gelf_sym.c | 159 +++ gelf_syminfo.c | 152 +++ gelf_symshndx.c | 137 ++ gelf_xlate.c | 79 ++ include/elfdefinitions.h | 2700 ++++++++++++++++++++++++++++++++++++++ include/gelf.h | 110 ++ include/libelf.h | 256 ++++ libelf_align.c | 135 ++ libelf_allocate.c | 210 +++ libelf_ar.c | 466 +++++++ libelf_ar_util.c | 360 +++++ libelf_checksum.c | 98 ++ libelf_convert.m4 | 1087 +++++++++++++++ libelf_data.c | 101 ++ libelf_ehdr.c | 204 +++ libelf_extended.c | 134 ++ libelf_fsize.m4 | 159 +++ libelf_memory.c | 96 ++ libelf_msize.m4 | 106 ++ libelf_open.c | 249 ++++ libelf_phdr.c | 153 +++ libelf_shdr.c | 54 + libelf_xlate.c | 148 +++ 73 files changed, 13845 insertions(+) create mode 100644 CONTRIBUTING.md create mode 100644 COPYING.md create mode 100644 Config.uk create mode 100644 Makefile.uk create mode 100644 README.elftoolchain create mode 100644 README.md create mode 100644 _elftc.h create mode 100644 _libelf.h create mode 100644 _libelf_ar.h create mode 100644 _libelf_config.h create mode 100644 elf.c create mode 100644 elf_begin.c create mode 100644 elf_cntl.c create mode 100644 elf_data.c create mode 100644 elf_end.c create mode 100644 elf_errmsg.c create mode 100644 elf_errno.c create mode 100644 elf_fill.c create mode 100644 elf_flag.c create mode 100644 elf_getarhdr.c create mode 100644 elf_getarsym.c create mode 100644 elf_getbase.c create mode 100644 elf_getident.c create mode 100644 elf_hash.c create mode 100644 elf_kind.c create mode 100644 elf_memory.c create mode 100644 elf_next.c create mode 100644 elf_open.c create mode 100644 elf_phnum.c create mode 100644 elf_rand.c create mode 100644 elf_rawfile.c create mode 100644 elf_scn.c create mode 100644 elf_shnum.c create mode 100644 elf_shstrndx.c create mode 100644 elf_strptr.c create mode 100644 elf_types.m4 create mode 100644 elf_update.c create mode 100644 elf_version.c create mode 100644 exportsyms.uk create mode 100644 gelf_cap.c create mode 100644 gelf_checksum.c create mode 100644 gelf_dyn.c create mode 100644 gelf_ehdr.c create mode 100644 gelf_fsize.c create mode 100644 gelf_getclass.c create mode 100644 gelf_move.c create mode 100644 gelf_phdr.c create mode 100644 gelf_rel.c create mode 100644 gelf_rela.c create mode 100644 gelf_shdr.c create mode 100644 gelf_sym.c create mode 100644 gelf_syminfo.c create mode 100644 gelf_symshndx.c create mode 100644 gelf_xlate.c create mode 100644 include/elfdefinitions.h create mode 100644 include/gelf.h create mode 100644 include/libelf.h create mode 100644 libelf_align.c create mode 100644 libelf_allocate.c create mode 100644 libelf_ar.c create mode 100644 libelf_ar_util.c create mode 100644 libelf_checksum.c create mode 100644 libelf_convert.m4 create mode 100644 libelf_data.c create mode 100644 libelf_ehdr.c create mode 100644 libelf_extended.c create mode 100644 libelf_fsize.m4 create mode 100644 libelf_memory.c create mode 100644 libelf_msize.m4 create mode 100644 libelf_open.c create mode 100644 libelf_phdr.c create mode 100644 libelf_shdr.c create mode 100644 libelf_xlate.c -- 2.20.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |