This is the mail archive of the binutils@sourceware.org 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][gold] Fix R_ARM_TLS_LE32 when there is no TLS segment


How was this tested?

-Doug

å 2010å5æ21æäå1:14ïRafael Espindola <espindola@google.com> åéï
> The attached patch fixes R_ARM_TLS_LE32 relocations when there is no TLS
> segment. This can happen with linker scripts. I think the old code was
> also wrong in the case we have a .tbss and a .tdata section. The relocations
> would be correct for the section with the largest address, but not for the
> other one.
>
> 2010-05-20 ÂRafael Espindola Â<espindola@google.com>
>
> Â Â Â Â* arm.cc (relocated_section): New.
> Â Â Â Â(Target_arm<big_endian>::Relocate::relocate_tls): Use
> Â Â Â Ârelocated_section and Layout::tls_section.
> Â Â Â Â* layout.cc (Layout::Layout): Initialize tls_section_.
> Â Â Â Â(Layout::compute_tls_section): New.
> Â Â Â Â* layout.h (Layout::tls_section, Layout::compute_tls_section,
> Â Â Â ÂLayout::tls_section_): New.
>
> (Cheers,
> --
> Rafael Ãvila de EspÃndola
>


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