[PATCH] D118840: [ELF] Support (TYPE=<value>) to customize the output section type

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 14 09:48:36 PST 2022


MaskRay updated this revision to Diff 408468.
MaskRay added a comment.

Remove SHT_GROUP.

Thanks for the comments.
The urgence of this syntax is dependent on how much systemd/Fedora abuses the `.note* ==> SHT_NOTE` behavior
https://bugzilla.redhat.com/show_bug.cgi?id=2052801
Right now now too urgent to me.
We can give binutils more time and I'll keep pinging the binutils discussion.
If for some reason we need to push this earlier, I'll consider adding "experimental".


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118840/new/

https://reviews.llvm.org/D118840

Files:
  lld/ELF/OutputSections.cpp
  lld/ELF/OutputSections.h
  lld/ELF/ScriptParser.cpp
  lld/docs/ELF/linker_script.rst
  lld/test/ELF/linkerscript/custom-section-type.s
  lld/test/ELF/linkerscript/noload.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118840.408468.patch
Type: text/x-patch
Size: 11689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220214/49ea4230/attachment.bin>


More information about the llvm-commits mailing list