From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH 2/4] trace: clang compatible handling of gd register
Date: Tue, 7 Jul 2020 23:03:43 -0400 [thread overview]
Message-ID: <20200708030343.GV1306@bill-the-cat> (raw)
In-Reply-To: <20200527180424.39395-3-xypron.glpk@gmx.de>
On Wed, May 27, 2020 at 08:04:22PM +0200, Heinrich Schuchardt wrote:
> On ARM systems gd is stored in register r9 or x18. When compiling with
> clang gd is defined as a macro calling function gd_ptr(). So we can not
> make assignments to gd.
>
> Use function set_gd() for setting the register on ARM.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Reviewed-by: Simon Glass <sjg@chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200707/e817c4d4/attachment.sig>
next prev parent reply other threads:[~2020-07-08 3:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-27 18:04 [PATCH 0/4] arm: fix clang build errors Heinrich Schuchardt
2020-05-27 18:04 ` [PATCH 1/4] efi_loader: allow compiling with clang Heinrich Schuchardt
2020-05-31 14:08 ` Simon Glass
2020-05-27 18:04 ` [PATCH 2/4] trace: clang compatible handling of gd register Heinrich Schuchardt
2020-05-31 14:08 ` Simon Glass
2020-07-08 3:03 ` Tom Rini [this message]
2020-05-27 18:04 ` [PATCH 3/4] arm: remove outdated comment concerning -ffixed-x18 Heinrich Schuchardt
2020-05-31 14:08 ` Simon Glass
2020-07-08 3:03 ` Tom Rini
2020-05-27 18:04 ` [PATCH 4/4] arm: use correct argument size of special registers Heinrich Schuchardt
2020-07-08 3:03 ` Tom Rini
2020-06-14 15:51 ` [PATCH 0/4] arm: fix clang build errors Heinrich Schuchardt
2020-06-14 15:59 ` Tom Rini
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=20200708030343.GV1306@bill-the-cat \
--to=trini@konsulko.com \
--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