[PATCH] [lld][core] support .gnu.linkonce sections
Shankar Kalpathi Easwaran
shankarke at gmail.com
Mon Mar 31 19:51:47 PDT 2014
Hi Bigcheese, kledzik, atanasyan,
This adds support for resolving .gnu.linkonce sections.
.gnu.linkonce sections are similar to section groups. They were supported before section groups existed and provided a way to resolve COMDAT sections using a different design. There are few implementations that use .gnu.linkonce sections to store simple floating point constants which doesnot require complex section group support but need a way to store only one copy of the floating point constant. .gnu.linkonce based symbol resolution achieves that.
http://llvm-reviews.chandlerc.com/D3242
Files:
include/lld/Core/DefinedAtom.h
include/lld/Core/Resolver.h
lib/Core/DefinedAtom.cpp
lib/Core/Resolver.cpp
lib/ReaderWriter/Native/WriterNative.cpp
lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
test/core/gnulinkonce-rearrange-resolve.objtxt
test/core/gnulinkonce-remaining-undef.objtxt
test/core/gnulinkonce-resolve.objtxt
test/core/gnulinkonce-simple.objtxt
test/core/sectiongroup-gnulinkonce-error.objtxt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3242.1.patch
Type: text/x-patch
Size: 23871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140331/1cffbce7/attachment.bin>
More information about the llvm-commits
mailing list