This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 bootstrap, and because our'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 [] 
Sent: 2012年10月3日 14:33
To: Jiong Wang
Cc: Walter Lee;
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]