[lld] r262019 - Description of symbols is avalable here:

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 10:09:35 PST 2016


On 26 February 2016 at 11:12, Rui Ueyama via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> The Linux manual page of "end" says about the symbols as follows.
>
>   etext  This is the first address past the end of the text segment (the
> program code).
>   edata  This is the first address past the end of the initialized data
> segment.
>
> Is your implementation correct? Your implementation seems like this.
>
>   etext is the last address past the end of any writable segment
>   edata is the last address past the end of any initialized data segment
>

Maybe instead of walking the sections you can walk the PL_LOAD
segments to get a more direct implementation?

Cheers,
Rafael


More information about the llvm-commits mailing list