[LLVMdev] [PROPOSAL] ELF safe/unsafe sections

Eric Christopher echristo at gmail.com
Tue Jul 30 16:28:20 PDT 2013


On Mon, Jul 29, 2013 at 9:24 AM, Nick Kledzik <kledzik at apple.com> wrote:
>
> On Jul 25, 2013, at 2:10 PM, Rui Ueyama wrote:
>> Is there any reason -ffunction-sections and -fdata-sections wouldn't work? If it'll work, it may be be better to say "if you want to get a better linker output use these options", rather than defining new ELF section.
>
> From my understanding, -ffunction-sections is a good semantic match.  But it introduces a lot of bloat in the .o file which the linker must process.
>

Drive by comment here:

Other than the overhead of the section header I'm not sure what bloat
you're talking about here that the linker needs to process?

-eric



More information about the llvm-dev mailing list