mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86/link: Discard the alternatives ".discard" sections
This appears to have been missed when porting the alternatives framework from Linux, and saves us a section which is otherwise loaded into memory. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> CC: Keir Fraser <keir@xen.org> CC: Jan Beulich <JBeulich@suse.com> Reviewed-by: Tim Deegan <tim@xen.org>
This commit is contained in:
1 parent
c5e64ba615
commit
4202a21cf6
1 file changed
+2
@@ -197,6 +197,8 @@ SECTIONS
|
||||
*(.exit.text)
|
||||
*(.exit.data)
|
||||
*(.exitcall.exit)
|
||||
*(.discard)
|
||||
*(.discard.*)
|
||||
*(.eh_frame)
|
||||
#ifdef EFI
|
||||
*(.comment)
|
||||
|
||||