Re: [PATCH] ARC: Get rid of toolchain check

2018-09-13 Thread Rob Herring
On Thu, Sep 13, 2018 at 3:24 PM Alexey Brodkin wrote: > > This check is very naive: we simply test if GCC invoked without > "-mcpu=XXX" has ARC700 define set. In that case we think that GCC > was built with "--with-cpu=arc700" and has libgcc built for ARC700. > > Otherwise if ARC700 is not defined

[PATCH] ARC: Get rid of toolchain check

2018-09-13 Thread Alexey Brodkin
This check is very naive: we simply test if GCC invoked without "-mcpu=XXX" has ARC700 define set. In that case we think that GCC was built with "--with-cpu=arc700" and has libgcc built for ARC700. Otherwise if ARC700 is not defined we think that everythng was built for ARCv2. But in reality our

Re: [PATCH v3 6/9] kbuild: consolidate Devicetree dtb build rules

2018-09-13 Thread Geert Uytterhoeven
Hi Yamada-san, On Wed, Sep 12, 2018 at 3:02 AM Masahiro Yamada wrote: > 2018-09-12 0:40 GMT+09:00 Rob Herring : > > On Mon, Sep 10, 2018 at 10:04 AM Rob Herring wrote: > >> There is nothing arch specific about building dtb files other than their > >> location under /arch/*/boot/dts/. Keeping eac

Re: [PATCH] [ARC] Fix generation of specs

2018-09-13 Thread Alexey Brodkin
Hi Claus, On Thu, 2018-09-13 at 09:59 +0200, Claudiu Zissulescu wrote: > The patch is missing the entry change log. Otherwise is ok. I'll push it with > the mentioned changes. Thanks for taking care. Also may we have it back-ported to 8.x branch so it will be a part of 8.3 release later? -Ale

RE: [PATCH] [ARC] Fix generation of specs

2018-09-13 Thread Claudiu Zissulescu
The patch is missing the entry change log. Otherwise is ok. I'll push it with the mentioned changes. Thank you, Claudiu > -Original Message- > From: Alexey Brodkin [mailto:abrod...@synopsys.com] > Sent: Thursday, September 13, 2018 9:41 AM > To: gcc-patc...@gcc.gnu.org > Cc: linux-snps-a

[PATCH] [ARC] Fix generation of specs

2018-09-13 Thread Alexey Brodkin
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: