Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Devel

[PATCH] x86: merge .text.* into .text while linking

 

 

Xen devel RSS feed   Index | Next | Previous | View Threaded


JBeulich at suse

May 7, 2012, 7:25 AM

Post #1 of 2 (48 views)
Permalink
[PATCH] x86: merge .text.* into .text while linking

For xen.efi, this eliminates a pointless gap between .text and
.text.unlikely of almost 2Mb size.

Signed-off-by: Jan Beulich <jbeulich [at] suse>

--- a/xen/arch/x86/xen.lds.S
+++ b/xen/arch/x86/xen.lds.S
@@ -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 */
Attachments: x86-text-unlikely.patch (0.50 KB)


keir.xen at gmail

May 7, 2012, 8:46 AM

Post #2 of 2 (44 views)
Permalink
Re: [PATCH] x86: merge .text.* into .text while linking [In reply to]

On 07/05/2012 15:25, "Jan Beulich" <JBeulich [at] suse> wrote:

> For xen.efi, this eliminates a pointless gap between .text and
> .text.unlikely of almost 2Mb size.
>
> Signed-off-by: Jan Beulich <jbeulich [at] suse>

Acked-by: Keir Fraser <keir [at] xen>

> --- a/xen/arch/x86/xen.lds.S
> +++ b/xen/arch/x86/xen.lds.S
> @@ -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 */
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel [at] lists
> http://lists.xen.org/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel

Xen devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.