This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 v2][BZ #17075] ARM: Fix immediate calculation of R_ARM_TLS_DESC


On Fri, 20 Jun 2014, Rich Felker wrote:

> Is this logic correct in general, i.e. is the immediate addend always
> (semantically) zero for symbolic relocations? Or is it legal to have a
> symbolic relocation with an offset, e.g. if a module accesses x[42];
> in __thread int x[50]; but no other elements and the compiler wants to
> generate a relocation referencing x[42] without the need for applying
> an additional offset to the address of x[0] at runtime as part of the
> referencing code?

 This relocation has no addend, please refer to the specification, 
attached to the bug report.

  Maciej


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