[PATCH] D29590: Generalize SHF_LINK_ORDER to user defined sections
Rafael Ávila de Espíndola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 10:05:48 PST 2017
rafael created this revision.
The discussion about gcing metadata sections at generic-abi at googlegroups.com currently favours having a section flag that would indicate that a one section contains metadata to the section linked to via .sh_link. There is also the desire to reuse SHF_LINK_ORDER and rename it.
This patch implements that idea while still using the SHF_LINK_ORDER name. This is a valid extension of SHF_LINK_ORDER is used for.
https://reviews.llvm.org/D29590
Files:
lld/ELF/MarkLive.cpp
lld/test/ELF/gc-sections-metadata.s
llvm/docs/Extensions.rst
llvm/include/llvm/MC/MCContext.h
llvm/lib/MC/ELFObjectWriter.cpp
llvm/lib/MC/MCContext.cpp
llvm/lib/MC/MCParser/ELFAsmParser.cpp
llvm/test/MC/ELF/section-metadata-err1.s
llvm/test/MC/ELF/section-metadata-err2.s
llvm/test/MC/ELF/section-metadata-err3.s
llvm/test/MC/ELF/section-metadata-err4.s
llvm/test/MC/ELF/section.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29590.87250.patch
Type: text/x-patch
Size: 10344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170206/425ad688/attachment.bin>
More information about the llvm-commits
mailing list