sim: cr16: add _start symbol to tests [BZ #12385]
authorMike Frysinger <vapier@gentoo.org>
Mon, 30 Mar 2015 01:00:20 +0000 (21:00 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 30 Mar 2015 01:02:03 +0000 (21:02 -0400)
The current cr16 testsuite sets up _START, but the linker looks for the
_start symbol.  Add the latter as an alias to the former.

sim/testsuite/sim/cr16/ChangeLog
sim/testsuite/sim/cr16/testutils.inc

index 2aa6735..8d7e005 100644 (file)
@@ -1,3 +1,8 @@
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/12385
+       * testutils.inc (START): Add _start symbol.
+
 2008-05-02  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
 
        * cbitb.cgs, cbitw.cgs, sbitb.cgs, sbitw.cgs, tbit.cgs, tbitb.cgs,
index 0cb2ffc..1b82dc6 100644 (file)
@@ -9,6 +9,8 @@ passmsg:
        .text
        .global _START
 _START:
+       .global _start
+_start:
        .endm
 
        .macro exit rc