aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-29 03:36:13 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-29 04:14:27 -0400
commit4f5cce88bf504a2f0010f7ad384003984da6ce00 (patch)
treebbcfb53daa5ff500e7f123f4c0d2ccbba9ca2c46 /sim
parent2a2ec787bf7dc91869d4adb8d98159dc5a2773c0 (diff)
downloadgdb-4f5cce88bf504a2f0010f7ad384003984da6ce00.zip
gdb-4f5cce88bf504a2f0010f7ad384003984da6ce00.tar.gz
gdb-4f5cce88bf504a2f0010f7ad384003984da6ce00.tar.bz2
sim: avr: fix _start testsuite symbol
Make sure we use the symbol the linker expects by default, and we export it so it can be found.
Diffstat (limited to 'sim')
-rw-r--r--sim/testsuite/sim/avr/ChangeLog4
-rw-r--r--sim/testsuite/sim/avr/testutils.inc3
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/testsuite/sim/avr/ChangeLog b/sim/testsuite/sim/avr/ChangeLog
index a5e9c9c..8c1bde2 100644
--- a/sim/testsuite/sim/avr/ChangeLog
+++ b/sim/testsuite/sim/avr/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-29 Mike Frysinger <vapier@gentoo.org>
+
+ * testutils.inc (start): Change to _start and add global markings.
+
2015-03-28 Mike Frysinger <vapier@gentoo.org>
* pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/sim/avr/testutils.inc b/sim/testsuite/sim/avr/testutils.inc
index 95a14fc..baad45d 100644
--- a/sim/testsuite/sim/avr/testutils.inc
+++ b/sim/testsuite/sim/avr/testutils.inc
@@ -37,5 +37,6 @@
# All assembler tests should start with a call to "start"
.macro start
.text
-__start:
+.global _start
+_start:
.endm