[PATCH, rs6000] fix visibility problems for out-of-line prologues/epilogues

Jakub Jelinek jakub@redhat.com
Tue Oct 7 20:07:00 GMT 2008


On Tue, Oct 07, 2008 at 10:45:17AM -0700, Nathan Froyd wrote:
> The patch below solves a problem related to the visibility of the
> out-of-line prologue/epilogue functions.  These functions are called by
> the compiler at -Os; since they have non-standard calling conventions,
> they are placed into static libgcc.a.  However, they have default
> visibility on ELF systems, which leads to the following failure mode:

Many eons ago gas didn't support .hidden, do we still support such old
binutils and if yes, shouldn't you add .hidden only if HAVE_GAS_HIDDEN
is defined?

	Jakub



More information about the Gcc-patches mailing list