This is the mail archive of the binutils@sources.redhat.com 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/RFA] SH TLS support (Revised)


Richard Henderson <rth@redhat.com> wrote:
>> The TLS relocs should be handled as non-adjustable in
>> sh_fix_adjustable. I'm not sure about sh_force_relocation.
>> It seems that there is no handling in i386_force_relocation,
>> right?
> 
> They should be marked in force_relocation (to make sure they
> get emitted to the object file), but there's no reason to
> mark them for fix_adjustable.  That reduces a private symbol
> to a section-relative offset, which should work fine.

I looked that i386 implementation handles them as non-adjustable
and I thought blindly it's needed. I'll fix the patch for tc-sh.c
according to your suggestion. Thanks a lot.

Regards,
	kaz


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