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,libgcc] fix libgcc configuration for powerpc*-eabi*


On Thu, Jul 22, 2010 at 2:29 PM, Nathan Froyd <froydnj@codesourcery.com> wrote:
> After the transition to top-level libgcc, t-ppccomm was no longer
> included for powerpc*-eabi*. ?This omission meant that the out-of-line
> register save/restore routines were no longer included in libgcc. ?Since
> gcc generates calls to these routines at -Os, programs that included
> code compiled at -Os no longer linked.
>
> This patch corrects this bug. ?I would not be totally surprised if
> t-ppccomm needed to be included for powerpc* targets...but I can't test
> all of them. ?The EXTRA_PARTS bit is needed to pass the checking code in
> libgcc/Makefile.in that compares libgcc configuration with gcc.
>
> Tested on powerpc-eabispe. ?OK to commit? ?OK to backport to 4.5 as well?
>
> -Nathan
>
> ? ? ? ?* config.host (powerpc*-eabispe*): Set tmake_file.
> ? ? ? ?(powerpc*-eabi*): Likewise.
> ? ? ? ?* config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
> ? ? ? ?crtbeginS, crtendS, crtbeginT.

Okay.

Thanks, David


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