[PATCH] D14090: [ELF2] R_X86_64_COPY relocation implemented

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 04:43:54 PDT 2015


grimar updated this revision to Diff 38650.
grimar added a comment.

Added  R_X86_64_64 to X86_64TargetInfo::relocNeedsCopy.
It can be met if compile sample from https://llvm.org/bugs/show_bug.cgi?id=25175 with -O0.
This is one of prerequisites to fix -O0 crash. Other part of fix is for another following patch since relative to lazy relocations.


http://reviews.llvm.org/D14090

Files:
  ELF/InputSection.cpp
  ELF/OutputSections.cpp
  ELF/Symbols.h
  ELF/Target.cpp
  ELF/Target.h
  ELF/Writer.cpp
  test/elf2/Inputs/relocation-copy.s
  test/elf2/relocation-copy.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14090.38650.patch
Type: text/x-patch
Size: 11557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151028/40dd90d0/attachment.bin>


More information about the llvm-commits mailing list