]> git.baikalelectronics.ru Git - uboot.git/commit
trace: Move trace pointer to data section
authorSimon Glass <sjg@chromium.org>
Wed, 21 Dec 2022 23:08:22 +0000 (16:08 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 18 Jan 2023 18:49:13 +0000 (11:49 -0700)
commite915bf5387858a4270672d419000e8093d218f41
tree083fa5914a06f10327bcce78d73a3fd5c2ec4289
parente09a72641a36e28fcddda8a003f28c0ddcabdae0
trace: Move trace pointer to data section

This can be written before relocation. Move it to the data section, since
accessing BSS before relocation is not permitted.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/trace.c