This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] sim: cr16: add _start symbol to tests [BZ #12385]
- From: Michael Frysinger <vapier at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 30 Mar 2015 01:02:11 -0000
- Subject: [binutils-gdb] sim: cr16: add _start symbol to tests [BZ #12385]
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4daf7a7c3a8404d8be973702ffe00541f71606a4
commit 4daf7a7c3a8404d8be973702ffe00541f71606a4
Author: Mike Frysinger <vapier@gentoo.org>
Date: Sun Mar 29 21:00:20 2015 -0400
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.
Diff:
---
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 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