/[gentoo]/src/patchsets/gcc/4.3.2/pie/10_all_gcc-4.4-gen-crt-start-endfile.patch
Gentoo

Diff of /src/patchsets/gcc/4.3.2/pie/10_all_gcc-4.4-gen-crt-start-endfile.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
12008-11-26 Magnus Granberg <zorry@ume.nu> 12008-12-29 Magnus Granberg <zorry@ume.nu>
2 Petet S. Mazinger <ps.m@gmx.net> 2 Petet S. Mazinger <ps.m@gmx.net>
3 3
4 * gcc/config/alpha/elf.h: Move CRT, START and ENDFILE to gcc/gcc.c 4 * gcc/config/alpha/elf.h: Move CRT, START and ENDFILE to gcc/gcc.c
5 * gcc/config/i386/linux64.h: Likewise. 5 * gcc/config/i386/linux64.h: Likewise.
6 * gcc/config/i386/linux.h: Likewise. 6 * gcc/config/i386/linux.h: Likewise.
23-#else 23-#else
24-#define STARTFILE_SPEC \ 24-#define STARTFILE_SPEC \
25- "%{!shared: %{pg|p:gcrt1.o%s;:crt1.o%s}}\ 25- "%{!shared: %{pg|p:gcrt1.o%s;:crt1.o%s}}\
26- crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}" 26- crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
27-#endif 27-#endif
28+#define STARTFILE_SPEC "%(ld_pie_crtfile_gen) crti.o%s %(startfile_t_pie_gen)" 28+#define STARTFILE_SPEC "%(ld_pie_crtfile_gen) crti.o%s %(startfile_pie_t_gen)"
29 29
30 /* Provide a ENDFILE_SPEC appropriate for ELF. Here we tack on the 30 /* Provide a ENDFILE_SPEC appropriate for ELF. Here we tack on the
31 magical crtend.o file which provides part of the support for 31 magical crtend.o file which provides part of the support for
32@@ -378,7 +370,7 @@ 32@@ -378,7 +370,7 @@
33 #undef ENDFILE_SPEC 33 #undef ENDFILE_SPEC

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20