x86: add sub section stuff
Linker tables make sense for code that iterates over an
array and uses the array, however that's not necessarily
always the use case for custom ELF sections. A good example
of a table would be when the built-in firmware is used, so
when folks request firmware and some firmware is built-in
to the kernel we iterate over the list of available built-in
firmware. Sometimes ELF sections are just used to compartamentalize
certain executable code for specialied purposes. An example of
this is kprobes -- where all that is desired is to keep
all kprobes executable routine in a special section.
In addition to this, it may be needed to support sub-sections
within a section. We need some actual examples of these... what
are they?
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
2 files changed