Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 802930 | Differences between
and this patch

Collapse All | Expand All

(-)a/gcc/config/powerpcspe/sysv4.h (-16 / +50 lines)
Lines 757-780 ENDIAN_SELECT(" -mbig", " -mlittle", DEFAULT_ASM_ENDIAN) Link Here
757
#define CRTOFFLOADEND ""
757
#define CRTOFFLOADEND ""
758
#endif
758
#endif
759
759
760
#ifdef HAVE_LD_PIE
760
/* STARTFILE_LINUX_SPEC should be the same as GNU_USER_TARGET_STARTFILE_SPEC
761
#define	STARTFILE_LINUX_SPEC "\
761
   but with the mnewlib ecrti.o%s selection substituted for crti.o%s.  */
762
%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
762
#if defined HAVE_LD_PIE
763
%{mnewlib:ecrti.o%s;:crti.o%s} \
763
#define	STARTFILE_LINUX_SPEC \
764
%{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s} \
764
  "%{shared:; \
765
" CRTOFFLOADBEGIN
765
     pg|p|profile:%{static-pie:grcrt1.o%s;:gcrt1.o%s}; \
766
     static:crt1.o%s; \
767
     static-pie:rcrt1.o%s; \
768
     " PIE_SPEC ":Scrt1.o%s; \
769
     :crt1.o%s} \
770
   %{mnewlib:ecrti.o%s;:crti.o%s} \
771
   %{static:crtbeginT.o%s; \
772
     shared|static-pie|" PIE_SPEC ":crtbeginS.o%s; \
773
     :crtbegin.o%s} \
774
   %{fvtable-verify=none:%s; \
775
     fvtable-verify=preinit:vtv_start_preinit.o%s; \
776
     fvtable-verify=std:vtv_start.o%s} \
777
   " CRTOFFLOADBEGIN
766
#else
778
#else
767
#define	STARTFILE_LINUX_SPEC "\
779
#define	STARTFILE_LINUX_SPEC \
768
%{!shared: %{pg|p|profile:gcrt1.o%s;:crt1.o%s}} \
780
  "%{shared:; \
769
%{mnewlib:ecrti.o%s;:crti.o%s} \
781
     pg|p|profile:gcrt1.o%s; \
770
%{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s} \
782
     :crt1.o%s} \
771
" CRTOFFLOADBEGIN
783
   %{mnewlib:ecrti.o%s;:crti.o%s} \
784
   %{static:crtbeginT.o%s; \
785
     shared|pie|static-pie:crtbeginS.o%s; \
786
     :crtbegin.o%s} \
787
   " CRTOFFLOADBEGIN
772
#endif
788
#endif
773
789
774
#define	ENDFILE_LINUX_SPEC "\
790
/* ENDFILE_LINUX_SPEC should be the same as GNU_USER_TARGET_ENDFILE_SPEC
775
%{shared|pie:crtendS.o%s;:crtend.o%s} \
791
   but with the mnewlib ecrtn.o%s selection substituted for crtn.o%s.  */
776
%{mnewlib:ecrtn.o%s;:crtn.o%s} \
792
#if defined HAVE_LD_PIE
777
" CRTOFFLOADEND
793
#define ENDFILE_LINUX_SPEC \
794
  "%{fvtable-verify=none:%s; \
795
     fvtable-verify=preinit:vtv_end_preinit.o%s; \
796
     fvtable-verify=std:vtv_end.o%s} \
797
   %{static:crtend.o%s; \
798
     shared|static-pie|" PIE_SPEC ":crtendS.o%s; \
799
     :crtend.o%s} \
800
   %{mnewlib:ecrtn.o%s;:crtn.o%s} \
801
   " CRTOFFLOADEND
802
#else
803
#define ENDFILE_LINUX_SPEC \
804
  "%{fvtable-verify=none:%s; \
805
     fvtable-verify=preinit:vtv_end_preinit.o%s; \
806
     fvtable-verify=std:vtv_end.o%s} \
807
   %{static:crtend.o%s; \
808
     shared|pie|static-pie:crtendS.o%s; \
809
     :crtend.o%s} \
810
   %{mnewlib:ecrtn.o%s;:crtn.o%s} \
811
   " CRTOFFLOADEND
812
#endif
778
813
779
#define LINK_START_LINUX_SPEC ""
814
#define LINK_START_LINUX_SPEC ""
780
815
781
- 

Return to bug 802930