diff options
author | Alexey Brodkin <abrodkin@synopsys.com> | 2018-09-17 08:52:10 +0000 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gcc.gnu.org> | 2018-09-17 10:52:10 +0200 |
commit | 5305a279c0b1593e802d33c4263c9805e80aa778 (patch) | |
tree | b2598f0e87d9697c9e6f1be3f71acf0d1f1e5f84 /gcc | |
parent | d6683f89123f4badb0396d5c9adcc81f46494b0b (diff) | |
download | gcc-5305a279c0b1593e802d33c4263c9805e80aa778.zip gcc-5305a279c0b1593e802d33c4263c9805e80aa778.tar.gz gcc-5305a279c0b1593e802d33c4263c9805e80aa778.tar.bz2 |
[ARC] Update LINK_EH_SPEC linker spec.
With no trailing space in LINK_EH_SPEC linker spec gets generated as:
------------------------>8---------------------
%{!r:--build-id} --eh-frame-hdr%{h*} ...
------------------------>8---------------------
or even worse if hash style is added:
------------------------>8---------------------
%{!r:--build-id} --eh-frame-hdr--hash-style=sysv %{h*} ...
------------------------>8---------------------
Now if that spec is really used by LD then it fails inevitably
saying that it doesn't know option "--eh-frame-hdr--hash-style=sysv".
2018-09-17 Alexey Brodkin <abrodkin@synopsys.com>
* config/arc/linux.h (LINK_EH_SPEC): Add missing space.
From-SVN: r264361
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arc/linux.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb43eca..30796de 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-09-17 Alexey Brodkin <abrodkin@synopsys.com> + + * config/arc/linux.h (LINK_EH_SPEC): Add missing space. + 2018-09-17 Martin Liska <mliska@suse.cz> * doc/gcov.texi: Document new option --use-hotness-colors. diff --git a/gcc/config/arc/linux.h b/gcc/config/arc/linux.h index 96d548e..62ebe4d 100644 --- a/gcc/config/arc/linux.h +++ b/gcc/config/arc/linux.h @@ -98,7 +98,7 @@ along with GCC; see the file COPYING3. If not see Signalize that because we have fde-glibc, we don't need all C shared libs linked against -lgcc_s. */ #undef LINK_EH_SPEC -#define LINK_EH_SPEC "--eh-frame-hdr" +#define LINK_EH_SPEC "--eh-frame-hdr " #endif #undef SUBTARGET_CPP_SPEC |