OSDN Git Service

* 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)
commit7df6fe9c256b3fc5cb92f2d0ddad52f119212be3
tree7c76b45160cefa73acb8840b808b4b8daafa18c6
parent960a90d6b1eae746a03449de620b9eb750c91c4d
* 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