Skip to content

arm: fix clang build errors

Tom Rini u-boot 1 version New

Get series with b4
b4 am 20200614155933.GP24893@bill-the-cat

Versions newest first

  1. v1 Latest3 of 4 patches 0 repliesNew

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/4trace: clang compatible handling of gd register+0 -00 replies
3/4arm: remove outdated comment concerning -ffixed-x18+0 -00 replies
4/4arm: use correct argument size of special registers+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] arm: fix clang build errors
Quoted 12 lines · Heinrich Schuchardt
Quoted 10 lines · Heinrich Schuchardt

With this patch series most ARM boards both 32bit and 64bit can be built using Clang 9.

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. Fixes for the UEFI sub-system and lib/trace.c are provided.

Incorrect argument sizes when accessing special registers with inline assembly are fixed.

Quoted 7 lines

Hello Tom,

will you take this series via next?

https://patchwork.ozlabs.org/project/uboot/list/?series=179688

1/4 is already merged via an EFI pull request.

Either -next or the MW when it opens itself. As this doesn't look too tricky overall it's not at the top of my TODO list for -next as I'm focusing on longer outstanding or tricky thingy first. Thanks!

Signature · 8 lines
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/20200614/f6ae3e86/attachment.sig>