This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,rs6000] don't define __eabi_convert or __eabi_uconvert if not _RELOCATABLE
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org, dje dot gcc at gmail dot com
- Date: Fri, 5 Jun 2009 14:45:55 -0400
- Subject: Re: [PATCH,rs6000] don't define __eabi_convert or __eabi_uconvert if not _RELOCATABLE
- References: <20090605184116.GS21107@codesourcery.com>
On Fri, Jun 5, 2009 at 2:41 PM, Nathan Froyd<froydnj@codesourcery.com> wrote:
> EABI PowerPC includes startup routines that take care of relocting any
> necessary pointers in the .fixup section. ?However, these routines are
> only called if -mreloctable was used when the assembly file in question
> was compiled. ?If the file was compiled without -mrelocatable, then the
> routines are just taking up unnecessary space.
>
> The patch below eliminates the routines unless the file is compiled with
> -mrelocatable. ?Tested with cross to powerpc-none-eabispe; OK to commit?
> + ? ? ? * config/rs6000/eabi.asm (__eabi_convert): Don't define if
> + ? ? ? _RELOCATABLE.
> + ? ? ? (__eabi_uconvert): Likewise.
> +
Okay.
Thanks, David