This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PowerPC prologue and epilogue 6
> Please try out this patch on Darwin. Bootstrapped and regression
> tested powerpc-linux.
I have applied the patch to r188026 and updated the build.
As patched the test gcc.target/powerpc/savres.c now fails with
FAIL: gcc.target/powerpc/savres.c (test for excess errors)
Excess errors:
ld_classic: can't locate file for: -lcrt0.o
According Iain Sandoe
> -static is not applicable to Darwin (except for kernel code).
> to make the test non-pic - use "-mdynamic-no-pic" (Darwin-only).
Replacing -static with -mdynamic-no-pic makes the test to pass
(the final patch will require the suitable dg directives;-).
Thanks
Dominique
PS Clean bootstrap and full regtesting scheduled for the next week-end).