llvm-6502/include/llvm/Object
Ulrich Weigand 68b292b026 [PowerPC] ELFv2 dynamic loader support
This patch enables the new ELFv2 ABI in the runtime dynamic loader.
The loader has to implement the following features:
- In the ELFv2 ABI, do not look up a function descriptor in .opd, but
  instead use the local entry point when resolving a direct call.
- Update the TOC restore code to use the new TOC slot linkage area
  offset.
- Create PLT stubs appropriate for the ELFv2 ABI.

Note that this patch also adds common-code changes. These are necessary
because the loader must check the newly added ELF flags: the e_flags
header bits encoding the ABI version, and the st_other symbol table
entry bits encoding the local entry point offset.  There is currently
no way to access these, so I've added ObjectFile::getPlatformFlags and
SymbolRef::getOther accessors.

Reviewed by Hal Finkel.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213491 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-20 23:53:14 +00:00
..
Archive.h Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy. 2014-06-24 13:56:32 +00:00
Binary.h Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy. 2014-06-24 13:56:32 +00:00
COFF.h Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy. 2014-06-24 13:56:32 +00:00
COFFYAML.h Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
ELF.h Fix the MSVC build following r212382 2014-07-06 10:54:41 +00:00
ELFObjectFile.h [PowerPC] ELFv2 dynamic loader support 2014-07-20 23:53:14 +00:00
ELFTypes.h [Object] Split the ELF interface into 3 parts. 2013-08-08 22:27:13 +00:00
ELFYAML.h Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
Error.h Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
IRObjectFile.h Implement LTOModule on top of IRObjectFile. 2014-07-04 18:40:36 +00:00
MachO.h [RuntimeDyld] Revert r211652 - MachO object GDB registration support. 2014-07-15 19:35:22 +00:00
MachOUniversal.h Add the -arch flag support to llvm-nm to select the slice out of a Mach-O 2014-06-30 18:45:23 +00:00
ObjectFile.h [PowerPC] ELFv2 dynamic loader support 2014-07-20 23:53:14 +00:00
RelocVisitor.h Support LE in RelocVisitor::visitELF_PPC64_* 2014-06-18 15:15:49 +00:00
SymbolicFile.h Move createIRObjectFile to the IRObjectFile class and return the concrete type. 2014-07-03 23:03:50 +00:00