This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: Re: [committed] TILE-Gx GOLD: better offset ranges for large got.
Hi Alan,
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
---
Jiong. Wang
Tilera Corporation
-----Original Message-----
From: Alan Modra [mailto:amodra@gmail.com]
Sent: 2012年10月3日 14:33
To: Jiong Wang
Cc: Walter Lee; binutils@sourceware.org
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_?
--
Alan Modra
Australia Development Lab, IBM