x86: merge .text.* into .text while linking
authorJan Beulich <jbeulich@suse.com>
Tue, 8 May 2012 11:33:16 +0000 (13:33 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 8 May 2012 11:33:16 +0000 (13:33 +0200)
For xen.efi, this eliminates a pointless gap between .text and
.text.unlikely of almost 2Mb size.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/xen.lds.S

index 578d24a17259e9b08c5d64b2cb525379c8624334..939ff11f3a1b6a7de13f5356951227806719337b 100644 (file)
@@ -47,6 +47,8 @@ SECTIONS
   .text : {
         _stext = .;            /* Text and read-only data */
        *(.text)
+       *(.text.cold)
+       *(.text.unlikely)
        *(.fixup)
        *(.gnu.warning)
        _etext = .;             /* End of text section */