[PATCH] D17813: [ELF] - add support for relocations against local symbols when producing relocatable output.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 08:31:43 PST 2016


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.

There was a known limitation for -r option:
relocations against local symbols were not supported. 
For example rel[a].eh_frame sections contained relocations against sections
and that was not supported for -r before. Patch fixes that.

http://reviews.llvm.org/D17813

Files:
  ELF/InputFiles.cpp
  ELF/InputSection.cpp
  ELF/OutputSections.h
  ELF/Writer.cpp
  test/ELF/Inputs/relocatable-ehframe.s
  test/ELF/relocatable-ehframe.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17813.49631.patch
Type: text/x-patch
Size: 5429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160302/443c3a63/attachment.bin>


More information about the llvm-commits mailing list