From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH] sim: avr: fix _start testsuite symbol
Date: Sun, 29 Mar 2015 08:11:00 -0000 [thread overview]
Message-ID: <1427616711-26914-1-git-send-email-vapier@gentoo.org> (raw)
Make sure we use the symbol the linker expects by default, and we export
it so it can be found.
Committed.
---
sim/testsuite/sim/avr/ChangeLog | 4 ++++
sim/testsuite/sim/avr/testutils.inc | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
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
--
2.3.4
reply other threads:[~2015-03-29 8:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1427616711-26914-1-git-send-email-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).