* i386.cc (class Target_i386::Relocate): Add ldo_addrs_ field.
authorIan Lance Taylor <ian@airs.com>
Tue, 6 Oct 2009 21:36:00 +0000 (21:36 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 6 Oct 2009 21:36:00 +0000 (21:36 +0000)
commite8a9fcdace0208444ad0ca2a71174c1230b8987a
tree8fcb33ef7268f8ee17b15984a90bc161a44c48a4
parentf8bf576366f8b023d1dc14fd0b44a4b103862874
* i386.cc (class Target_i386::Relocate): Add ldo_addrs_ field.
(Target_i386::Relocate::relocate_tls): Call fix_up_ldo before
changing local_dynamic_type_ from LOCAL_DYNAMIC_NONE.  When
handling R_386_TLS_LDO_32, if local_dynamic_type_ is NONE, push
the address on ldo_addrs_.
(Target_i386::Relocate::fix_up_ldo): New function.
gold/ChangeLog
gold/i386.cc