public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: add 8-byte alignment for ABI compliance before board_init_f
Date: Fri, 12 Nov 2010 09:04:40 +0100	[thread overview]
Message-ID: <4CDCF518.2030204@free.fr> (raw)
In-Reply-To: <4CDCEA8F.9060709@denx.de>

Le 12/11/2010 08:19, Heiko Schocher a ?crit :

>> One further thought, why not init the reserved register in assembly and
>> remove the gd relevant code in C? But that bears some risk if the register
>> is changed and the assembly is forgotten to adapt..
>
> No, I think this is to risky ...

It is absolutely not risky.

It is simply infeasible. :)

Different ARM toolchains use registers in different ways. Go from one 
toolchain to another, or from one *version* of a toolchain to another, 
and your "reserved" register is not any more.

Amicalement,
-- 
Albert.

  reply	other threads:[~2010-11-12  8:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-12  6:53 [U-Boot] [PATCH] arm: add 8-byte alignment for ABI compliance before board_init_f Heiko Schocher
2010-11-12  7:06 ` Reinhard Meyer
2010-11-12  7:19   ` Heiko Schocher
2010-11-12  8:04     ` Albert ARIBAUD [this message]
2010-11-12  8:50     ` Graeme Russ
2010-11-12  8:50   ` Wolfgang Denk
2010-11-12  9:47     ` Graeme Russ
2010-11-12  9:56       ` Wolfgang Denk
2010-11-12  7:53 ` Albert ARIBAUD
2010-11-12  8:05   ` Heiko Schocher
2010-12-08 22:50 ` Wolfgang Denk

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=4CDCF518.2030204@free.fr \
    --to=albert.aribaud@free.fr \
    --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