From: Graham Markall Date: Fri, 20 Jan 2017 13:37:28 +0000 (+0000) Subject: arc/nps: Use arclinux_nps linker emulation for nps X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b96920e20d3f3d47f78e7a729b6527698fe732c;p=gcc.git arc/nps: Use arclinux_nps linker emulation for nps gcc/ChangeLog: * config/arc/arc.h (LINK_SPEC): Use arclinux_nps emulation when mcpu=nps400. From-SVN: r244712 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a27331249b8..def13c11d3a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-01-20 Graham Markall + + * config/arc/arc.h (LINK_SPEC): Use arclinux_nps emulation when + mcpu=nps400. + 2017-01-20 Martin Jambor * hsa.h: Renaed to hsa-common.h. Adjusted a comment. diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index 52548a10dea..9cf7668e985 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -121,7 +121,7 @@ extern const char *arc_cpu_to_as (int argc, const char **argv); -X %{mbig-endian:-EB} \ %{EB} %{EL} \ %{marclinux*} \ - %{!marclinux*: -marclinux} \ + %{!marclinux*: %{mcpu=nps400:-marclinux_nps; :-marclinux}} \ %{!z:-z max-page-size=0x2000 -z common-page-size=0x2000} \ %{shared:-shared}" #else