llvm-project/lld
Hal Finkel d26da9258f [ELF2] Fix mixed-Endian handling in DynamicSection<ELFT>::writeTo
Using the "raw" Elf64_Dyn or Elf32_Dyn structures in
DynamicSection<ELFT>::writeTo does not correctly handle mixed-Endian
situations. Instead, use the corresponding llvm::object::* structures which
have Endian-converting members (like the rest of the code).

This fixes all currently-failing elf2 tests when running on big-Endian
PPC64/Linux (I've added a big-Endian test case which should fail on
little-Endian machines in the same way that test/elf2/shared.s failed on
big-Endian machines prior to this change).

llvm-svn: 249150
2015-10-02 16:21:30 +00:00
..
COFF [LLD] Fix Clang-tidy modernize-use-nullptr warnings; other minor cleanups. 2015-10-02 00:36:00 +00:00
ELF [ELF2] Fix mixed-Endian handling in DynamicSection<ELFT>::writeTo 2015-10-02 16:21:30 +00:00
cmake/modules Add VTune as an optional external dependency and add task tracking. 2013-04-06 00:56:40 +00:00
docs COFF: Update windows_support.html. 2015-09-03 17:01:18 +00:00
include/lld [lld][MachO] Initial implementation of -flat_namespace and -undefined. 2015-09-28 20:25:14 +00:00
lib Simplify. NFC. 2015-10-02 13:23:29 +00:00
test [ELF2] Fix mixed-Endian handling in DynamicSection<ELFT>::writeTo 2015-10-02 16:21:30 +00:00
tools Use ld.lld2 as a argv[0] alias. 2015-10-02 12:57:34 +00:00
unittests [Mips] Support two more MIPS linking emulation options elf32btsmipn32/elf32ltsmipn32 2015-08-28 21:39:13 +00:00
.arcconfig Update Phabricator server. 2014-04-07 04:52:24 +00:00
.clang-format Remove redundant "Standard: Cpp11" tag. The LLVM style has used the 2014-07-04 12:08:03 +00:00
.gitignore Update .gitignore to ignore hidden MacOSX Finder droppings 2014-07-16 21:01:17 +00:00
CMakeLists.txt [CMake] Don't include the lld test directory if LLVM_INCLUDE_TESTS is Off 2015-10-01 18:17:47 +00:00
CODE_OWNERS.TXT Add initial CODE_OWNERS.TXT file 2015-07-25 00:44:37 +00:00
LICENSE.TXT Update copyright year to 2015. 2015-03-12 20:14:35 +00:00
README.md

README.md

LLVM Linker (lld)

This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.

lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.