From: Simon Kagstrom <simon.kagstrom@netinsight.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH, RFC] Make arm926ejs use -march=armv5t to avoid problems with EABI
Date: Fri, 4 Sep 2009 11:27:19 +0200 [thread overview]
Message-ID: <20090904112719.0afba331@marrow.netinsight.se> (raw)
Make arm926ejs use -march=armv5t to avoid problems with EABI
Using -march=armv5t instead of armv5te allows Marvell Kirkwood-based
boards to boot with the EABI changes introduced in commit
f772acf8a584067033eff1e231fcd1fb3a00d3d9
Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
---
This allows me to build with -mabi=aapcs-linux again. I still haven't
found out what exactly causes the issues I had reported here
http://www.mail-archive.com/u-boot at lists.denx.de/msg20517.html
but with this patch it works fine again. Disassembling the binary, I
see that ldrd/strd instructions are gone (as expected), although I
don't know if that is the issue.
cpu/arm926ejs/config.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cpu/arm926ejs/config.mk b/cpu/arm926ejs/config.mk
index 90eb3c0..94f1c17 100644
--- a/cpu/arm926ejs/config.mk
+++ b/cpu/arm926ejs/config.mk
@@ -24,7 +24,7 @@
PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \
-msoft-float
-PLATFORM_CPPFLAGS += -march=armv5te
+PLATFORM_CPPFLAGS += -march=armv5t
# =========================================================================
#
# Supply options according to compiler version
--
1.6.0.4
next reply other threads:[~2009-09-04 9:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-04 9:27 Simon Kagstrom [this message]
2009-09-05 0:46 ` [U-Boot] [PATCH, RFC] Make arm926ejs use -march=armv5t to avoid problems with EABI Jean-Christophe PLAGNIOL-VILLARD
2009-09-14 9:02 ` Simon Kagstrom
2009-09-24 12:36 ` Stefan Roese
2009-09-24 14:20 ` Simon Kagstrom
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=20090904112719.0afba331@marrow.netinsight.se \
--to=simon.kagstrom@netinsight.net \
--cc=u-boot@lists.denx.de \
/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