mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
build: alloc space for sched list in the link file
Creates a section to contain scheduler entry pointers that are gathered together into an array. This will allow, in a follow-on patch, scheduler entries to be automatically gathered together into the array for automatic parsing. Signed-off-by: Jonathan Creekmore <jonathan.creekmore@gmail.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Doug Goldstein <cardoe@cardoe.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
f3187f83d3
commit
2c94cd917d
2 files changed
+8
No files matched your search
@@ -57,6 +57,10 @@ SECTIONS
|
||||
. = ALIGN(PAGE_SIZE);
|
||||
*(.data.page_aligned)
|
||||
*(.data)
|
||||
. = ALIGN(8);
|
||||
__start_schedulers_array = .;
|
||||
*(.data.schedulers)
|
||||
__end_schedulers_array = .;
|
||||
*(.data.rel)
|
||||
*(.data.rel.*)
|
||||
CONSTRUCTORS
|
||||
|
||||
@@ -80,6 +80,10 @@ SECTIONS
|
||||
__stop___pre_ex_table = .;
|
||||
|
||||
*(.data.read_mostly)
|
||||
. = ALIGN(8);
|
||||
__start_schedulers_array = .;
|
||||
*(.data.schedulers)
|
||||
__end_schedulers_array = .;
|
||||
*(.data.rel.ro)
|
||||
*(.data.rel.ro.*)
|
||||
} :text
|
||||
|
||||