[ELF] - Implemented -N (-omagic) command line option.
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 29 Nov 2016 09:43:51 +0000 (09:43 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 29 Nov 2016 09:43:51 +0000 (09:43 +0000)
commit595a763f38ced2cb994903acdf36e8b76b99edf7
tree15dfa230bdf4fe1471a7831eaab3b0165cc01146
parent91c1fc29944d5f623ed2232637fed2555427b33e
[ELF] - Implemented -N (-omagic) command line option.

-N (-omagic)
  Set the text and data sections to be readable and writable.
  Also, do not page-align the data segment.

Differential revision: https://reviews.llvm.org/D26888

llvm-svn: 288123
lld/ELF/Config.h
lld/ELF/Driver.cpp
lld/ELF/Options.td
lld/ELF/Writer.cpp
lld/test/ELF/segments.s