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,rs6000] don't define __eabi_convert or __eabi_uconvert if not _RELOCATABLE


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


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