[PATCH] [lld][ELF] Implement relocations.
Michael Spencer
bigcheesegs at gmail.com
Sun Feb 3 18:02:29 PST 2013
Hi shankarke,
This series of patches implements the relocations needed for lld to self host.
[ELF] Replace local dynamic tls access with direct access.
[ELF] Implement GOTPCREL for defined atoms.
[ELF][Layout] Provide a proper way to get the TLS segment size.
[ELF][x86-64] Handle PLT32 relocations to IFUNC.
http://llvm-reviews.chandlerc.com/D366
Files:
lib/ReaderWriter/ELF/DefaultLayout.h
lib/ReaderWriter/ELF/X86_64/X86_64TargetHandler.cpp
lib/ReaderWriter/ELF/X86_64/X86_64TargetInfo.cpp
test/elf/Inputs/gotpcrel.S
test/elf/Inputs/undef-gotpcrel.S
test/elf/Inputs/gotpcrel.x86-64
test/elf/Inputs/ifunc.S
test/elf/Inputs/ifunc.x86-64
test/elf/Inputs/tls.S
test/elf/Inputs/tls.x86-64
test/elf/Inputs/undef-gotpcrel.x86-64
test/elf/gotpcrel.test
test/elf/undef-gotpcrel.test
test/elf/ifunc.test
test/elf/tls.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D366.1.patch
Type: text/x-patch
Size: 10653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130203/ca83a9de/attachment.bin>
More information about the llvm-commits
mailing list