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)
commitbebc1410ca79f5b8b33ca86b18bd55fd45d13185
tree083fa5914a06f10327bcce78d73a3fd5c2ec4289
parent9557592edc82cc690db2e81ef249a772f60078cb
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