From: Keir Fraser Date: Thu, 5 Feb 2009 08:28:00 +0000 (+0000) Subject: x86: Throw away .eh_frame exception-handling sections. Otherwise they X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14003^2~35 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e0cf17bba6d7b2c2522e4dee77d459df42486e03;p=xen.git x86: Throw away .eh_frame exception-handling sections. Otherwise they can fail the build by requiring linking against discarded .exit.* sections. Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/x86_32/xen.lds.S b/xen/arch/x86/x86_32/xen.lds.S index 99fffca441..1bbb65405a 100644 --- a/xen/arch/x86/x86_32/xen.lds.S +++ b/xen/arch/x86/x86_32/xen.lds.S @@ -91,6 +91,7 @@ SECTIONS *(.exit.text) *(.exit.data) *(.exitcall.exit) + *(.eh_frame) } /* Stabs debugging sections. */ diff --git a/xen/arch/x86/x86_64/xen.lds.S b/xen/arch/x86/x86_64/xen.lds.S index 4f840107ce..f6c37f02cc 100644 --- a/xen/arch/x86/x86_64/xen.lds.S +++ b/xen/arch/x86/x86_64/xen.lds.S @@ -89,6 +89,7 @@ SECTIONS *(.exit.text) *(.exit.data) *(.exitcall.exit) + *(.eh_frame) } /* Stabs debugging sections. */