[PATCH] D43071: [ELF] - Support DSECT, COPY, INFO, OVERLAY output sections attributes.

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 03:44:39 PST 2018


peter.smith added a comment.
Herald added a subscriber: arichardson.

In https://reviews.llvm.org/D43071#1002684, @ruiu wrote:

> I mean, for any language, if you google for some extremely minor feature of that language, I'm pretty sure that you can always find one. So the fact that you can find a use case on the internet isn't very convincing that we should support it.


While these minor features are not used at all in a system sophisticated enough to run ELF files directly, I'd argue that at least COPY will be used heavily in embedded systems as placement of the heap and stack via symbols derived from linker script sections is a common idiom. Overlays are not so common these days but they still exist. It is true that we haven't got a large contingent of embedded developers using the Arm port, there are a few, but I'm hoping we don't scare them away.


https://reviews.llvm.org/D43071





More information about the llvm-commits mailing list