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:
Andrew Cooper authored and Konrad Rzeszutek Wilk committed 2015-04-10 11:36:03 -04:00
1 parent c5e64ba615
commit 4202a21cf6
1 file changed
+2
+2
View File
@@ -197,6 +197,8 @@ SECTIONS
*(.exit.text)
*(.exit.data)
*(.exitcall.exit)
*(.discard)
*(.discard.*)
*(.eh_frame)
#ifdef EFI
*(.comment)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.