This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH] PR target/65612: Multiversioning doesn't work with DSO nor PIE


On Sat, May 09, 2015 at 03:36:01PM -0400, Rich Felker wrote:
> Could you clarify the reasoning for why libgcc is using this hack with
> a reference to an 'obsolete' symbol version rather than just
> visibility?

Obviously for ABI compatibility reasons.  Older programs could be relying on
the symbols exported from libgcc_s.so.1 in the past.  We need to keep those
working, just don't want to allow linking new programs against this symbol
(because new programs should get their copy from libgcc.a now).

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]