arc/nps: Use arclinux_nps linker emulation for nps
authorGraham Markall <graham.markall@embecosm.com>
Fri, 20 Jan 2017 13:37:28 +0000 (13:37 +0000)
committerAndrew Burgess <aburgess@gcc.gnu.org>
Fri, 20 Jan 2017 13:37:28 +0000 (13:37 +0000)
gcc/ChangeLog:

* config/arc/arc.h (LINK_SPEC): Use arclinux_nps emulation when
mcpu=nps400.

From-SVN: r244712

gcc/ChangeLog
gcc/config/arc/arc.h

index a27331249b8ef017eccb37d6066bb94162923293..def13c11d3a9c9d43ecaf3d83d4b61c297e0ebeb 100644 (file)
@@ -1,3 +1,8 @@
+2017-01-20  Graham Markall  <graham.markall@embecosm.com>
+
+       * config/arc/arc.h (LINK_SPEC): Use arclinux_nps emulation when
+       mcpu=nps400.
+
 2017-01-20  Martin Jambor  <mjambor@suse.cz>
 
         * hsa.h: Renaed to hsa-common.h.  Adjusted a comment.
index 52548a10dea60464aa10ff2ab4c82399a4200e4c..9cf7668e985579267031355411caa951d4642613 100644 (file)
@@ -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