25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
--- gcc-5.2.0.orig/gcc/config/gnu-user.h 2015-01-05 12:33:28.000000000 +0000
|
|
+++ gcc-5.2.0/gcc/config/gnu-user.h 2015-08-25 08:15:18.354957759 +0000
|
|
@@ -42,8 +42,8 @@
|
|
|
|
#if defined HAVE_LD_PIE
|
|
#define GNU_USER_TARGET_STARTFILE_SPEC \
|
|
- "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
|
|
- crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s} \
|
|
+ "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:%{static:rcrt1.o%s;:Scrt1.o%s};:crt1.o%s}} \
|
|
+ crti.o%s %{shared|pie:crtbeginS.o%s;static:crtbeginT.o%s;:crtbegin.o%s} \
|
|
%{fvtable-verify=none:%s; \
|
|
fvtable-verify=preinit:vtv_start_preinit.o%s; \
|
|
fvtable-verify=std:vtv_start.o%s}"
|
|
--- gcc-5.2.0.orig/gcc/config/sh/linux.h 2015-01-05 12:33:28.000000000 +0000
|
|
+++ gcc-5.2.0/gcc/config/sh/linux.h 2015-08-25 07:57:14.161690536 +0000
|
|
@@ -53,7 +75,7 @@
|
|
%{!static: \
|
|
%{rdynamic:-export-dynamic} \
|
|
-dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
|
|
- %{static:-static}"
|
|
+ %{static:-static -E --no-dynamic-linker}"
|
|
|
|
/* Output assembler code to STREAM to call the profiler. */
|
|
#undef FUNCTION_PROFILER
|