[PATCH] D25325: [ELF] Change way we place non-scripted (orphan) sections
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 4 12:15:48 PDT 2016
On 4 November 2016 at 13:10, Eugene Leviant <evgeny.leviant at gmail.com> wrote:
> Let's imagine that *NonScriptI points to NOBITS alloc section. Let's also
> imagine that there are several alloc PROGBITS a sections before *NonScriptI.
> Where will your patch insert *NonScriptI? If I am not mistaken - after the
> very first PROGBITS section. If so this isn't correct. The right thing is
> not to move it at all.
I think it will put it at the end of the rw PT_LOAD, which is correct, no?
Can you write that into a testcase? Seems like a good one to have.
Cheers,
Rafael
More information about the llvm-commits
mailing list