Skip to content
Commit 56952474 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

event: Change EVENT_SPY to global



This creates static records at present, but it causes a problem with clang
and LTO: the linker list records are sometimes dropped from the image.

Fix this by making the records global.

Update to use __used while we are here.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 2ff5490d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment