* object.h (class Relocate_info): Add reloc_shdr and data_shdr
authorIan Lance Taylor <ian@airs.com>
Thu, 15 Oct 2009 00:33:18 +0000 (00:33 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 15 Oct 2009 00:33:18 +0000 (00:33 +0000)
commit82bb573a567ac147a333b86e36208e2397d5f5df
treee2c38c03b45f7749e5614c152278bc670231b719
parent7b6964b46ccee427823c18726e262f09284821d1
* object.h (class Relocate_info): Add reloc_shdr and data_shdr
fields.
* object.cc (Sized_relobj::relocate_sections): Set reloc_shdr and
data_shdr fields of relinfo.
* i386.cc (class Target_i386::Relocate): Remove ldo_addrs_ field.
(Target_i386::Relocate::relocate_tls): Don't call fix_up_ldo.  For
R_386_TLS_LDO_32, adjust based on section flags.
(Target_i386::Relocate::fix_up_ldo): Remove.
gold/ChangeLog
gold/i386.cc
gold/object.h
gold/reloc.cc