Lines 869-876
proper position among the other output files. */
Link Here
|
869 |
#endif |
869 |
#endif |
870 |
|
870 |
|
871 |
#ifdef ENABLE_DEFAULT_PIE |
871 |
#ifdef ENABLE_DEFAULT_PIE |
872 |
#define NO_PIE_SPEC "no-pie|static" |
872 |
#define PIE_SPEC "!no-pie" |
873 |
#define PIE_SPEC NO_PIE_SPEC "|r|shared:;" |
|
|
874 |
#define NO_FPIE1_SPEC "fno-pie" |
873 |
#define NO_FPIE1_SPEC "fno-pie" |
875 |
#define FPIE1_SPEC NO_FPIE1_SPEC ":;" |
874 |
#define FPIE1_SPEC NO_FPIE1_SPEC ":;" |
876 |
#define NO_FPIE2_SPEC "fno-PIE" |
875 |
#define NO_FPIE2_SPEC "fno-PIE" |
Lines 891-897
proper position among the other output files. */
Link Here
|
891 |
#define FPIE_OR_FPIC_SPEC NO_FPIE_AND_FPIC_SPEC ":;" |
890 |
#define FPIE_OR_FPIC_SPEC NO_FPIE_AND_FPIC_SPEC ":;" |
892 |
#else |
891 |
#else |
893 |
#define PIE_SPEC "pie" |
892 |
#define PIE_SPEC "pie" |
894 |
#define NO_PIE_SPEC PIE_SPEC "|r|shared:;" |
|
|
895 |
#define FPIE1_SPEC "fpie" |
893 |
#define FPIE1_SPEC "fpie" |
896 |
#define NO_FPIE1_SPEC FPIE1_SPEC ":;" |
894 |
#define NO_FPIE1_SPEC FPIE1_SPEC ":;" |
897 |
#define FPIE2_SPEC "fPIE" |
895 |
#define FPIE2_SPEC "fPIE" |
Lines 920-926
proper position among the other output files. */
Link Here
|
920 |
#else |
918 |
#else |
921 |
#define LD_PIE_SPEC "" |
919 |
#define LD_PIE_SPEC "" |
922 |
#endif |
920 |
#endif |
923 |
#define LINK_PIE_SPEC "%{no-pie:} " "%{" PIE_SPEC ":" LD_PIE_SPEC "} " |
921 |
#define LINK_PIE_SPEC "%{static|shared|r:;" PIE_SPEC ":" LD_PIE_SPEC "} " |
924 |
#endif |
922 |
#endif |
925 |
|
923 |
|
926 |
#ifndef LINK_BUILDID_SPEC |
924 |
#ifndef LINK_BUILDID_SPEC |
Lines 999-1006
proper position among the other output files. */
Link Here
|
999 |
#endif |
997 |
#endif |
1000 |
|
998 |
|
1001 |
/* -u* was put back because both BSD and SysV seem to support it. */ |
999 |
/* -u* was put back because both BSD and SysV seem to support it. */ |
1002 |
/* %{static:} simply prevents an error message if the target machine |
1000 |
/* %{static|no-pie:} simply prevents an error message: |
1003 |
doesn't handle -static. */ |
1001 |
1. If the target machine doesn't handle -static. |
|
|
1002 |
2. If PIE isn't enabled by default. |
1003 |
*/ |
1004 |
/* We want %{T*} after %{L*} and %D so that it can be used to specify linker |
1004 |
/* We want %{T*} after %{L*} and %D so that it can be used to specify linker |
1005 |
scripts which exist in user specified directories, or in standard |
1005 |
scripts which exist in user specified directories, or in standard |
1006 |
directories. */ |
1006 |
directories. */ |
Lines 1017-1023
proper position among the other output files. */
Link Here
|
1017 |
"%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \ |
1017 |
"%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \ |
1018 |
"%X %{o*} %{e*} %{N} %{n} %{r}\ |
1018 |
"%X %{o*} %{e*} %{N} %{n} %{r}\ |
1019 |
%{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}} \ |
1019 |
%{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}} \ |
1020 |
%{static:} %{L*} %(mfwrap) %(link_libgcc) " \ |
1020 |
%{static|no-pie:} %{L*} %(mfwrap) %(link_libgcc) " \ |
1021 |
VTABLE_VERIFICATION_SPEC " " SANITIZER_EARLY_SPEC " %o " CHKP_SPEC " \ |
1021 |
VTABLE_VERIFICATION_SPEC " " SANITIZER_EARLY_SPEC " %o " CHKP_SPEC " \ |
1022 |
%{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1):\ |
1022 |
%{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1):\ |
1023 |
%:include(libgomp.spec)%(link_gomp)}\ |
1023 |
%:include(libgomp.spec)%(link_gomp)}\ |
1024 |
- |
|
|