[PATCH] D14140: [ELF2] SECTIONS command basic support

Denis Protivensky via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 01:31:01 PDT 2015


denis-protivensky created this revision.
denis-protivensky added reviewers: ruiu, rafael.
denis-protivensky added a subscriber: llvm-commits.
denis-protivensky added a project: lld.

Add support of SECTIONS command:
- determine output section by input section name
- discard input sections
- order output sections accordingly
- don't add bounding symbols (__start/__stop) for sections defined in the linker script

http://reviews.llvm.org/D14140

Files:
  ELF/Config.h
  ELF/LinkerScript.cpp
  ELF/OutputSections.h
  ELF/Writer.cpp
  test/elf2/linkerscript-sections.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14140.38634.patch
Type: text/x-patch
Size: 21627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151028/feea79c2/attachment.bin>


More information about the llvm-commits mailing list