[ELF] - Add support for access to most of synthetic sections from linkerscript.
authorGeorge Rimar <grimar@accesssoftek.com>
Fri, 25 Nov 2016 08:05:41 +0000 (08:05 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Fri, 25 Nov 2016 08:05:41 +0000 (08:05 +0000)
commit11992c86d9bb40a3f7626502632c4cce7fcdb9fb
treef342ecfe426f63f2ceaf1d45bc66e9afa947e8f3
parent291d74bdb4b7cf41c3cc041433fd6288d58f97b6
[ELF] - Add support for access to most of synthetic sections from linkerscript.

This is important for cases like:

  .sdata        : {
    *(.got.plt .got)
...
  }

That was not supported before as there was no way to get access to
synthetic sections from script.

More details on review page.

Differential revision: https://reviews.llvm.org/D27040

llvm-svn: 287913
lld/ELF/SyntheticSections.cpp
lld/ELF/SyntheticSections.h
lld/ELF/Writer.cpp
lld/test/ELF/eh-align-cie.s
lld/test/ELF/eh-frame-hdr-augmentation.s
lld/test/ELF/eh-frame-marker.s
lld/test/ELF/eh-frame-merge.s
lld/test/ELF/linkerscript/phdrs.s
lld/test/ELF/synthetic-got.s [new file with mode: 0644]