[llvm-dev] Need to refactor relocation handlers in ELF LLD

Rafael EspĂ­ndola via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 21 12:27:10 PST 2016


> I guess that you are trying to layout sections that have fixed size first
> and then other sections that vary in size (such as GOT, string tables, etc.)
> after them.
>
> But users can enforce some ordering using linker script. Is it going to be
> compatible with that?

Not exactly fixed size first. But there are some  restrictions, like
the relocation section has to be after section that need dynamic
relocations. There are no restrictions on the order of user sections.

Cheers,
Rafael


More information about the llvm-dev mailing list