This is the mail archive of the
mailing list for the binutils project.
RE: Re: [committed] TILE-Gx GOLD: better offset ranges for large got.
Thanks for point out! I checked glibc source code, we use _GLOBOAL_OFFSET_TABLE_ in elf_machine_dynamic, this is a hidding bug.
From my understanding, this is only used when ld.so bootstrap, and because our ld.so's got size is < 0x8000, so this bug is not triggered, we do have tested our gold port by build glibc/rtld, and runs OK
From: Alan Modra [mailto:firstname.lastname@example.org]
Sent: 2012年10月3日 14:33
To: Jiong Wang
Cc: Walter Lee; email@example.com
Subject: Re: Re: [committed] TILE-Gx GOLD: better offset ranges for large got.
On Wed, Oct 03, 2012 at 06:23:09AM +0000, Jiong Wang wrote:
> And tilegx do not have x86_64 style got header, we only reserve the
> first entry in .got which kept the address of .dynamic, all .plt stub
> will not be affected by the _GLOBAL_OFFSET_TABLE_
So your dynamic loader uses the first entry in the .got section for the address of .dynamic rather than the entry pointed to by _GLOBAL_OFFSET_TABLE_?
Australia Development Lab, IBM