Adjust local symbol value in relocatable link to be relative to section.
authorCary Coutant <ccoutant@gmail.com>
Wed, 25 Nov 2015 16:50:41 +0000 (08:50 -0800)
committerCary Coutant <ccoutant@gmail.com>
Wed, 25 Nov 2015 16:50:41 +0000 (08:50 -0800)
commit74b03b91333ccbc8fa70647eca22062e902f797f
tree8cfff630907b1ce577e986cf826e24fddd5682e1
parent751e4d66b4c6daaf04e6bccdb3f9ce4a0620babb
Adjust local symbol value in relocatable link to be relative to section.

gold/
PR gold/19291
* object.cc (Sized_relobj_file::write_local_symbols): If relocatable,
subtract section address from symbol value.
gold/ChangeLog
gold/object.cc