This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][gold] PR 21054: Fix GOT when global symbols are forced to local visibility
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Vladimir Radosavljevic <Vladimir dot Radosavljevic at imgtec dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, Petar Jovanovic <Petar dot Jovanovic at imgtec dot com>
- Date: Mon, 23 Jan 2017 17:19:25 -0800
- Subject: Re: [PATCH][gold] PR 21054: Fix GOT when global symbols are forced to local visibility
- Authentication-results: sourceware.org; auth=none
- References: <3060420525346945A0ADBD567348A917EF93087E@BADAG04.ba.imgtec.org>
> Don't add global symbol that requires GOT entry to the dynamic symbol table if it is 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.
Committed. Thanks!
-cary