commit | 7f642cb287ee046e1c2a0a244fd924c664f48d67 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed May 27 20:04:22 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Jul 07 18:23:48 2020 -0400 |
tree | 88754c1d1976f3a1096a62b1a57bb2a1ea1a88cb | |
parent | a20f0c820fb024a48f667334777ca4022838693d [diff] |
trace: clang compatible handling of gd register 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>