aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-29 21:00:20 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-29 21:02:03 -0400
commit4daf7a7c3a8404d8be973702ffe00541f71606a4 (patch)
tree4edfd57a13aa8d06d07336778f08342d5f3e9135 /sim
parent970bed001b8238bbf25144810a26c9f7b242391b (diff)
downloadgdb-4daf7a7c3a8404d8be973702ffe00541f71606a4.zip
gdb-4daf7a7c3a8404d8be973702ffe00541f71606a4.tar.gz
gdb-4daf7a7c3a8404d8be973702ffe00541f71606a4.tar.bz2
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.
Diffstat (limited to 'sim')
-rw-r--r--sim/testsuite/sim/cr16/ChangeLog5
-rw-r--r--sim/testsuite/sim/cr16/testutils.inc2
2 files changed, 7 insertions, 0 deletions
diff --git a/sim/testsuite/sim/cr16/ChangeLog b/sim/testsuite/sim/cr16/ChangeLog
index 2aa6735..8d7e005 100644
--- a/sim/testsuite/sim/cr16/ChangeLog
+++ b/sim/testsuite/sim/cr16/ChangeLog
@@ -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,
diff --git a/sim/testsuite/sim/cr16/testutils.inc b/sim/testsuite/sim/cr16/testutils.inc
index 0cb2ffc..1b82dc6 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