diff options
author | Ilya Enkovich <enkovich.gnu@gmail.com> | 2015-07-22 16:24:28 +0000 |
---|---|---|
committer | Ilya Enkovich <ienkovich@gcc.gnu.org> | 2015-07-22 16:24:28 +0000 |
commit | 65defbee13c0741ce973f0de5ff1b6acb33bff95 (patch) | |
tree | d413164109d71cbd6f537b578cf9fc01f155fb39 | |
parent | ecf6e535fcda673a5f1691bef91752f197662e81 (diff) | |
download | gcc-65defbee13c0741ce973f0de5ff1b6acb33bff95.zip gcc-65defbee13c0741ce973f0de5ff1b6acb33bff95.tar.gz gcc-65defbee13c0741ce973f0de5ff1b6acb33bff95.tar.bz2 |
re PR driver/66737 (ld: warning: -z bndplt ignored)
PR driver/66737
* config/i386/linux-common.h (MPX_SPEC): Use linker option
for 64bit target only.
From-SVN: r226076
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/linux-common.h | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d4c7de3..cf4ecd7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-07-22 Ilya Enkovich <enkovich.gnu@gmail.com> + + PR driver/66737 + * config/i386/linux-common.h (MPX_SPEC): Use linker option + for 64bit target only. + 2015-07-22 Bernd Schmidt <bernds@codesourcery.com> * config/nvptx/nvptx.c: Expand some comments. diff --git a/gcc/config/i386/linux-common.h b/gcc/config/i386/linux-common.h index 63dd8d8..7617490 100644 --- a/gcc/config/i386/linux-common.h +++ b/gcc/config/i386/linux-common.h @@ -71,8 +71,12 @@ along with GCC; see the file COPYING3. If not see #endif #ifndef MPX_SPEC +#ifdef SPEC_64 #define MPX_SPEC "\ - %{mmpx:%{fcheck-pointer-bounds:%{!static:" LINK_MPX "}}}" + %{mmpx:%{fcheck-pointer-bounds:%{!static:%{" SPEC_64 ":" LINK_MPX "}}}}" +#else +#define MPX_SPEC "" +#endif #endif #ifndef LIBMPX_SPEC |