[PATCH] D33485: [ELF] - Do not allow -r to eat comdats.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 02:39:45 PDT 2017


grimar created this revision.
Herald added a subscriber: emaste.

This is PR33052, "Bug 33052 - -r eats comdats ".

To fix it I stop removing group section from out when -r is given
and fixing SHT_GROUP content when writing it just like we do some
other fixup, e.g. for Rel[a]. (it needs fix for section indices that ar in group).


https://reviews.llvm.org/D33485

Files:
  ELF/InputFiles.cpp
  ELF/InputSection.cpp
  ELF/InputSection.h
  ELF/OutputSections.cpp
  test/ELF/relocatable-comdat.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33485.100056.patch
Type: text/x-patch
Size: 5518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170524/a683a7d5/attachment.bin>


More information about the llvm-commits mailing list