https://sourceware.org/bugzilla/show_bug.cgi?id=19163

--- Comment #3 from Han Shen <shenhan at google dot com> ---
Hi Cary, "*reloc" in this context refers to the dynamic relocation spot which
shall be filled by android linker during binary loadup. Gold pre-fills "symbol
value" to this spot, while bfd zeros it out. 

Actually the value at this spot is always overwritten and should never be read
by dynamic linker (dynamic linker only needs information from '.rela.dyn'),
unfortunately, android bionic dynamic linker *wrongly* reads that value, thus
corrupted the gold-linked aarch64 image. The bug in android bionic dynamic
linker has been fixed. But Dimitry suggests we keep the same behavior as bfd.

I'll send out a patch tomorrow.

Thanks,
Han

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to