Fix MIPS GOT when global symbols are forced to local visibility.
authorVladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
Tue, 24 Jan 2017 01:12:10 +0000 (17:12 -0800)
committerCary Coutant <ccoutant@gmail.com>
Tue, 24 Jan 2017 01:12:10 +0000 (17:12 -0800)
commitc1f59f8ff9462ce45a3287ea06382a97e561fed3
tree1beae8d102f1df23e92c1808b8737d3d2bd9429d
parentc780b47c74872da62b5b5dfcbfe8c3db1631f981
Fix MIPS GOT when global symbols are forced to local visibility.

gold/
PR gold/21054
* mips.cc (Mips_got_info::record_global_got_symbol): Don't add symbol
to the dynamic symbol table if it is forced to local visibility.
(Target_mips::do_finalize_sections): Don't add __RLD_MAP symbol to the
dynamic symbol table if it is forced to local visibility.
gold/ChangeLog
gold/mips.cc