[llvm-dev] How LLD should create segments when linkerscript is used ?

Rafael EspĂ­ndola via llvm-dev llvm-dev at lists.llvm.org
Thu Aug 25 11:00:06 PDT 2016

>> So see next possible solutions:
>> 1) Align first sections of each segment to the page boundary like we do for non-script case.
>> 2) Implement the described ld behavior.
>> Thoughts ?

Probably 1. I think the difference is because we default to creating a
RO PT_LOAD, but bfd default to merging RO and RO+E into one PT_LOAD.


More information about the llvm-dev mailing list