[PATCH] sim: cr16: add _start symbol to tests [BZ #12385]
Mike Frysinger
vapier@gentoo.org
Mon Mar 30 01:01:00 GMT 2015
The current cr16 testsuite sets up _START, but the linker looks for the
_start symbol. Add the latter as an alias to the former.
Committed.
---
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
--
2.3.4
More information about the Gdb-patches
mailing list