llvm-6502/lib/Object
Simon Atanasyan 602706ee58 [Object] Support reading 64-bit MIPS ELF archives
The 64-bit MIPS ELF archive file format is used by MIPS64 targets.
The main difference from a regular archive file is the symbol table format:
1. ar_name is equal to "/SYM64/"
2. number of symbols and offsets are 64-bit integers

http://techpubs.sgi.com/library/manuals/4000/007-4658-001/pdf/007-4658-001.pdf
Page 96

The patch allows reading of such archive files by llvm-nm, llvm-objdump
and other tools. But it does not support archive files with number of symbols
and/or offsets exceed 2^32. I think it is a rather rare case requires more
significant modification of `Archive` class code.

http://reviews.llvm.org/D7546

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229520 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-17 18:54:22 +00:00
..
Archive.cpp [Object] Support reading 64-bit MIPS ELF archives 2015-02-17 18:54:22 +00:00
Binary.cpp Support ELF files of unknown type. 2014-11-18 01:14:25 +00:00
CMakeLists.txt Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
COFFObjectFile.cpp Move three methods only used by MCJIT to MCJIT. 2014-12-10 20:46:55 +00:00
COFFYAML.cpp obj2yaml, yaml2obj: Add support for COFF executables 2014-11-14 08:15:42 +00:00
ELF.cpp Remove duplication of relocation names in lib/Object/ELF.cpp 2014-11-21 20:16:07 +00:00
ELFObjectFile.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
ELFYAML.cpp [ELFYAML] Provide default value 0 for YAML relocation addendum field 2015-01-29 06:56:24 +00:00
Error.cpp Converting object's error_category to a ManagedStatic to avoid static constructors and destructors. 2014-09-19 22:09:18 +00:00
IRObjectFile.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
LLVMBuild.txt Object/LLVMBuild.txt: Sort required_libraries by alphabetical order. 2014-07-14 02:52:08 +00:00
MachOObjectFile.cpp dd the option, -link-opt-hints to llvm-objdump used with -macho to print the 2015-01-27 21:28:24 +00:00
MachOUniversal.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
Makefile
Object.cpp Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
ObjectFile.cpp Support ELF files of unknown type. 2014-11-18 01:14:25 +00:00
RecordStreamer.cpp Make RecordStreamer.h private. 2014-07-04 22:44:18 +00:00
RecordStreamer.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
SymbolicFile.cpp Rename createIRObjectFile to just create. 2014-12-09 20:36:13 +00:00