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: [PATCH 4/9] [ARC] Don't convert _DYNAMIC@ to _GLOBAL_OFFSET_TABLE_

Hi Nick,

Yes, there is some sort of incompatibility to legacy code.
However, as far as we know this was a special relocation / assembly
exception only used for uClibc dynamic loader, in order to compute
library relative virtual offset.

This was part of the old tools never upstreamed, and the side effects /
problems created with it were unnoticed by us when we first start
More recently, I have been involved in porting glibc for ARC and I have
came across this "naughtiness", and suggested to clean it up, for uclibc
and glibc.

Current version of uClibc is no longer relying on it.

In my opinion, it is unlikely some other project except uClibc will be
affected by this change.

Best regards,

On 06/06/2017 02:19 PM, Nick Clifton wrote:
> Hi Cupertino,
>> From: Vineet Gupta <>
>> Historically the arc abi demanded that a GOT[0] should be referencible as
>> [pc+_DYNAMIC@gotpc].  Hence we convert a _DYNAMIC@gotpc to a GOTPC reference to
>> This is no longer the case and uClibc and upcomming GNU libc don't expect this
>> to happen.
> Is there going to be a legacy problem with this change to the ABI ?
> IE is it possible that code compiled with the old ABI will be linked with code
> compiled with the new ABI, and hence run into problems ?
> Cheers
>   Nick

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