[PATCH] D58892: [ELF] Split RW PT_LOAD on the PT_GNU_RELRO boundary

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 23:28:51 PST 2019


MaskRay added a comment.

In D58892#1783029 <https://reviews.llvm.org/D58892#1783029>, @mgorny wrote:

> I know I'm late to the party but this change thoroughly destroyed NetBSD support. The NetBSD loader doesn't support having more than two PT_LOAD sections. `-z norosegment` helped with that so far but after this change practically everything fails to run.


This seems to be a very serious limitation. I have difficult to understand how such limitation could exist at all, but I think this should be straightforward to fix. I presume you meant `--no-rosegment`, not `-z norosegment`. The latter does not exist.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58892/new/

https://reviews.llvm.org/D58892





More information about the llvm-commits mailing list