if we return nullptr for a "noexec" section, then don't change section.
authorespie <espie@openbsd.org>
Wed, 28 Jun 2017 07:37:38 +0000 (07:37 +0000)
committerespie <espie@openbsd.org>
Wed, 28 Jun 2017 07:37:38 +0000 (07:37 +0000)
commit0db736d815ee5360cb95d2dafe35f5cc51193a62
tree68b93500d989c7e5dd875f4912d56f7e2ecdc832
parent4f186a300bdec7972c0ecc37cc7cbb364a706ed6
if we return nullptr for a "noexec" section, then don't change section.
prevents core dumps :)

okay tedu@
gnu/llvm/lib/MC/MCELFStreamer.cpp