x86/boot: Remove unused symbols from linker script
PATCH 1/1 x86/boot: Remove unused symbols from linker script
The symbols declared with DECLARE_IMPORT are meant to be used by the 32 bit code.
The __base_relocs_{start,end} symbols were not used by the code.
No functional changes.
Signed-off-by Frediano Ziglio <[email protected]>
--- xen/arch/x86/boot/build32.lds.S | 2 -- 1 file changed, 2 deletions(-)
xen/arch/x86/boot/build32.lds.S +0 -2
@@ -43,8 +43,6 @@ SECTIONS * Attention should be paid to pointers taking care of possible later * relocation. */ - DECLARE_IMPORT(__base_relocs_start); - DECLARE_IMPORT(__base_relocs_end); DECLARE_IMPORT(__trampoline_rel_start); DECLARE_IMPORT(__trampoline_rel_stop); DECLARE_IMPORT(__trampoline_seg_start);
Signature · 1 line
2.43.0
Quoted 7 lines · Frediano Ziglio
The symbols declared with
DECLARE_IMPORTare meant to be used by the 32 bit code.
The __base_relocs_{start,end} symbols were not used by the code.
No functional changes.Signed-off-by Frediano Ziglio <[email protected]>
Reported-by Jan
Reviewed-by Andrew Cooper <[email protected]>
Can be fixed on commit.