Fix handling of relocations against TLS section symbols.
authorCary Coutant <ccoutant@google.com>
Fri, 26 Sep 2014 20:34:27 +0000 (13:34 -0700)
committerCary Coutant <ccoutant@google.com>
Fri, 26 Sep 2014 20:34:27 +0000 (13:34 -0700)
commit5efeedf61e4fe720fd3e9a08e6c91c10abb66d42
tree82b78794a6890ec232644b62b96ca9dd86932052
parenta73c2b56cd87f709fb9118232b19cdf516edfb10
Fix handling of relocations against TLS section symbols.

Gold doesn't handle relocations against the section symbol for a TLS
section correctly. Instead of using the offset of the section relative
to the TLS segment, it uses the address of the actual section.  This
patch checks for section symbols for TLS sections, and treats them
the same as TLS symbols.

gold/
PR gold/16773
* object.cc (Sized_relobj_file): Compute value of section symbols
for TLS sections the same as TLS symbols.
gold/ChangeLog
gold/object.cc
This page took 0.028468 seconds and 4 git commands to generate.