llvm-project/lld/lib/ReaderWriter/MachO
Nick Kledzik f373c77f50 [mach-o] Fix lazy binding offsets
The way lazy binding works in mach-o is that the linker generates a helper
function and has the stub (PLT) initially jump to it.  The helper function
pushes an extra parameter then jumps into dyld.  The extra parameter is an
offset into the lazy binding info where dyld will find the information about
which symbol to bind and way lazy binding pointer to update.

llvm-svn: 221654
2014-11-11 01:31:18 +00:00
..
ArchHandler.cpp TMP: fix readN & writeN to not encourage UB 2014-10-27 22:48:35 +00:00
ArchHandler.h TMP: fix readN & writeN to not encourage UB 2014-10-27 22:48:35 +00:00
ArchHandler_arm.cpp [mach-o] Fix lazy binding offsets 2014-11-11 01:31:18 +00:00
ArchHandler_arm64.cpp [mach-o] Fix lazy binding offsets 2014-11-11 01:31:18 +00:00
ArchHandler_x86.cpp [mach-o] Fix lazy binding offsets 2014-11-11 01:31:18 +00:00
ArchHandler_x86_64.cpp [mach-o] Fix lazy binding offsets 2014-11-11 01:31:18 +00:00
Atoms.h [mach-o] support N_NO_DEAD_STRIP nlist.desc bit 2014-08-21 22:18:30 +00:00
CMakeLists.txt [CMake] lld: Introduce ${cmake_2_8_12_INTERFACE} onto each target_link_libraries. [PR20254] 2014-10-17 00:37:49 +00:00
CompactUnwindPass.cpp [mach-o] remove __compact_unwind atoms once __unwind_info has been generated 2014-11-04 21:57:32 +00:00
ExecutableAtoms.hpp [mach-o] Fix stub generation to work for dylibs and bundles 2014-08-13 23:31:07 +00:00
File.h Fix warnings about missing override. 2014-11-03 17:14:46 +00:00
GOTPass.cpp Sort include files according to convention. 2014-10-18 05:33:55 +00:00
GOTPass.hpp [mach-o] refactor KindHandler into ArchHandler and simplify passes. 2014-07-16 19:49:02 +00:00
MachOLinkingContext.cpp [mach-o] remove stray debug output 2014-11-07 22:00:26 +00:00
MachONormalizedFile.h Sort include files according to convention. 2014-10-18 05:33:55 +00:00
MachONormalizedFileBinaryReader.cpp TMP: fix readN & writeN to not encourage UB 2014-10-27 22:48:35 +00:00
MachONormalizedFileBinaryUtils.h [mach-o] explicitly cast little_n uses to ints to silence MSVC 2014-10-31 22:12:20 +00:00
MachONormalizedFileBinaryWriter.cpp [mach-o] Fix lazy binding offsets 2014-11-11 01:31:18 +00:00
MachONormalizedFileFromAtoms.cpp [mach-o] Fix lazy binding offsets 2014-11-11 01:31:18 +00:00
MachONormalizedFileToAtoms.cpp [mach-o] remove extra leading underscore on __bss and __got 2014-11-06 01:14:12 +00:00
MachONormalizedFileYAML.cpp [mach-o] Add support for arm64 (AAarch64) 2014-09-09 23:52:59 +00:00
MachOPasses.h [mach-o] Add Pass to create are shim Atoms for ARM interworking. 2014-10-14 01:51:42 +00:00
Makefile Initial set of Makefiles 2014-06-04 09:54:07 +00:00
ShimPass.cpp Sort include files according to convention. 2014-10-18 05:33:55 +00:00
StubsPass.cpp [mach-o] Fix lazy binding offsets 2014-11-11 01:31:18 +00:00
WriterMachO.cpp [mach-o] Fix stub generation to work for dylibs and bundles 2014-08-13 23:31:07 +00:00