[PATCH] D14449: [ELF2] -omagic implementation

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 08:56:00 PST 2015


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14449.39544.patch
Type: text/x-patch
Size: 8426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151106/5de8aeda/attachment.bin>


More information about the llvm-commits mailing list