[PATCH] D29330: Replace MergeOutputSection with synthetic input section MergeSection.

Rafael Ávila de Espíndola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 08:25:31 PST 2017


rafael created this revision.

This is a fresh start on the review of https://reviews.llvm.org/D27415. It is George patch with some simplifications.

I can be simplified further by not setting Entsize, but that is probably better done is a followup patch.

This should allow some cleanup is the linker script code now that every output section command maps to just one output section.


https://reviews.llvm.org/D29330

Files:
  ELF/InputSection.cpp
  ELF/InputSection.h
  ELF/OutputSections.cpp
  ELF/OutputSections.h
  ELF/Symbols.cpp
  ELF/SyntheticSections.cpp
  ELF/SyntheticSections.h
  ELF/Writer.cpp
  test/ELF/linkerscript/alternate-sections.s
  test/ELF/linkerscript/merge-sections-syms.s
  test/ELF/linkerscript/merge-sections.s
  test/ELF/map-file.s
  test/ELF/merge-string-align.s
  test/ELF/no-merge.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29330.86438.patch
Type: text/x-patch
Size: 25061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170131/d8cb9aaf/attachment.bin>


More information about the llvm-commits mailing list