From 4daf7a7c3a8404d8be973702ffe00541f71606a4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 29 Mar 2015 21:00:20 -0400 Subject: [PATCH] sim: cr16: add _start symbol to tests [BZ #12385] 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 | 5 +++++ sim/testsuite/sim/cr16/testutils.inc | 2 ++ 2 files changed, 7 insertions(+) diff --git a/sim/testsuite/sim/cr16/ChangeLog b/sim/testsuite/sim/cr16/ChangeLog index 2aa67350065..8d7e005988f 100644 --- a/sim/testsuite/sim/cr16/ChangeLog +++ b/sim/testsuite/sim/cr16/ChangeLog @@ -1,3 +1,8 @@ +2015-03-29 Mike Frysinger + + PR sim/12385 + * testutils.inc (START): Add _start symbol. + 2008-05-02 M R Swami Reddy * cbitb.cgs, cbitw.cgs, sbitb.cgs, sbitw.cgs, tbit.cgs, tbitb.cgs, diff --git a/sim/testsuite/sim/cr16/testutils.inc b/sim/testsuite/sim/cr16/testutils.inc index 0cb2ffcf90d..1b82dc64c5e 100644 --- a/sim/testsuite/sim/cr16/testutils.inc +++ b/sim/testsuite/sim/cr16/testutils.inc @@ -9,6 +9,8 @@ passmsg: .text .global _START _START: + .global _start +_start: .endm .macro exit rc -- 2.30.2