This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 3/5] Use FPIE_OR_FPIC_SPEC in CRIS_ASM_SUBTARGET_SPEC
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 8 May 2015 10:37:05 -0700
- Subject: [PATCH 3/5] Use FPIE_OR_FPIC_SPEC in CRIS_ASM_SUBTARGET_SPEC
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
OK for trunk?
H.J.
* config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Use
FPIE_OR_FPIC_SPEC.
---
gcc/config/cris/linux.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/cris/linux.h b/gcc/config/cris/linux.h
index bd57986..262aac5 100644
--- a/gcc/config/cris/linux.h
+++ b/gcc/config/cris/linux.h
@@ -79,13 +79,13 @@ along with GCC; see the file COPYING3. If not see
"--em=criself \
%{!march=*:%{!mcpu=*:--march=v32}} \
%{!fleading-underscore:--no-underscore}\
- %{fPIC|fpic|fPIE|fpie: --pic}"
+ %{" FPIE_OR_FPIC_SPEC ": --pic}"
#else
# define CRIS_ASM_SUBTARGET_SPEC \
"--em=criself \
%{!march=*:%{!mcpu=*:--march=v10}} \
%{!fleading-underscore:--no-underscore}\
- %{fPIC|fpic|fPIE|fpie: --pic}"
+ %{" FPIE_OR_FPIC_SPEC ": --pic}"
#endif
/* Previously controlled by target_flags. */
--
1.9.3