This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] fix visibility problems for out-of-line prologues/epilogues
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, dje at watson dot ibm dot com
- Date: Tue, 7 Oct 2008 21:53:55 +0200
- Subject: Re: [PATCH, rs6000] fix visibility problems for out-of-line prologues/epilogues
- References: <20081007174516.GD5892@codesourcery.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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