Skip to content
Commit 99290f7f authored by Daniel Leung's avatar Daniel Leung Committed by Christopher Friedt
Browse files

linker: allow symbols to be in a named __noinit section



This adds a new __noinit_named() macro which can be used to
attach named section attributes for symbols. The original
__noinit creates a section attribute with source file name
and a sequential counter. This simply replaces the counter
with the supplied name. This is useful for demand paging
as developers can choose which symbols is pinned memory.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent dc1f4b27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment