[PATCH] D14449: [ELF2] -omagic implementation

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 09:10:40 PST 2015


On Nov 6, 2015 8:56 AM, "George Rimar via llvm-commits" <
llvm-commits at lists.llvm.org> wrote:
>
> grimar created this revision.
> grimar added reviewers: ruiu, rafael.
> grimar added subscribers: llvm-commits, grimar.
>
> -N, --omagic
> Set the text and data sections to be readable and writable. Also, do not
page-align the data segment, and disable linking against shared libraries.
>
> Notes: bfd looks just to create single PT_LOAD and tries to keep minimal
possible set of flags for it (just concatinates all sections flags that
take part in PT_LOAD). Also bfd does not output empty sections, but we do.
So this ones are also affect on minimal set of flags for new lld.
>
> http://reviews.llvm.org/D14449
>
> Files:
>   ELF/Config.h
>   ELF/Driver.cpp
>   ELF/Options.td
>   ELF/Writer.cpp
>   test/elf2/omagic.s
>

Is somebody really using this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151106/a2551bda/attachment.html>


More information about the llvm-commits mailing list