]> git.ipfire.org Git - thirdparty/gcc.git/commit
[ARC] Update LINK_EH_SPEC linker spec.
authorclaziss <claziss@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Sep 2018 08:52:10 +0000 (08:52 +0000)
committerclaziss <claziss@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Sep 2018 08:52:10 +0000 (08:52 +0000)
commit892142379c6b99fe8c3ebdfe0b79e2a435228c1d
treeb2598f0e87d9697c9e6f1be3f71acf0d1f1e5f84
parent7581c57ac537d2e64175d6ba057b79ad77c824a9
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264361 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arc/linux.h