incubator-nuttx/binfmt/libelf
Masayuki Ishikawa 81f1133174 ELF64 support (#220)
* include: Introduce elf64.h and elf.h

    Added elf64.h for 64bit ELF support and moved common definitions
    from elf32.h to elf.h. Also introduced Elf_xxx to be used in
    common libraries such as binfmt.

  * binfmt, include, modlib, module: Add support for ELF64

    Elf_xxx must be used instead of Elf32_xxx to support ELF64.
    To use ELF64, CONFIG_ELF_64BIT must be enabled.

  * binfmt, modlib: Add support for relocate address

  * arch: risc-v: Add include/elf.h

  * libs: machine: Add risc-v related files.

    NOTE: Currently only supports ELF64

  * boards: maix-bit: Add elf and posix_spawn configurations

  * boards: maix-bit: Add support for module configuration
2020-02-07 17:10:23 -06:00
..
Kconfig ELF64 support (#220) 2020-02-07 17:10:23 -06:00
Make.defs
gnu-elf.ld All linker scripts: Preface all _edata defininitions with . = ALIGN(4). Otherwise, the last bytes in the .data section may not be initialized properly. Also convert all linker scripts indent in units of 8-spaces to units of 4-spaces. 2019-09-15 17:22:16 -06:00
libelf.h ELF64 support (#220) 2020-02-07 17:10:23 -06:00
libelf_addrenv.c binfmt/libelf, libs/libc/modlib: Optimize elf load speed: (1) Don't zero out memory, (2) Reduce the initial buffer size to 32 bytes. 2019-01-26 11:34:40 -06:00
libelf_bind.c ELF64 support (#220) 2020-02-07 17:10:23 -06:00
libelf_ctors.c ELF64 support (#220) 2020-02-07 17:10:23 -06:00
libelf_dtors.c ELF64 support (#220) 2020-02-07 17:10:23 -06:00
libelf_init.c ELF64 support (#220) 2020-02-07 17:10:23 -06:00
libelf_iobuffer.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
libelf_load.c ELF64 support (#220) 2020-02-07 17:10:23 -06:00
libelf_read.c binfmt/, binfmt/libelf/, include/nuttx, libs/libc/machine, libs/libc/modlib, and others: Move elf related arch function to include/nuttx/elf.h because the implementation is located in libs/libc/machine and in order to avoid the conflict with the 3rd party libraries and clean up the file inclusion: (1) Remove redundant elf32.h, (2) Remove nuttx/binfmt/elf.h in libs/libc/machine, (2) Remove nuttx/binfmt/elf.h in modlib, and (4) Rmove nuttx/module.h in modlib. 2019-01-26 11:18:45 -06:00
libelf_sections.c ELF64 support (#220) 2020-02-07 17:10:23 -06:00
libelf_symbols.c ELF64 support (#220) 2020-02-07 17:10:23 -06:00
libelf_uninit.c
libelf_unload.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
libelf_verify.c ELF64 support (#220) 2020-02-07 17:10:23 -06:00