Jan Beulich
2010-Dec-23 12:58 UTC
[Xen-devel] [PATCH 3/3] x86: link time .data section adjustments
Fold compiler generated sections (mostly due to -fPIC on x86-64) into
the general .data and .data.read_mostly sections.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- 2010-12-23.orig/xen/arch/x86/xen.lds.S
+++ 2010-12-23/xen/arch/x86/xen.lds.S
@@ -51,12 +51,16 @@ SECTIONS
__stop___pre_ex_table = .;
*(.data.read_mostly)
+ *(.data.rel.ro)
+ *(.data.rel.ro.*)
} :text
.data : { /* Data */
. = ALIGN(PAGE_SIZE);
*(.data.page_aligned)
*(.data)
+ *(.data.rel)
+ *(.data.rel.*)
CONSTRUCTORS
} :text
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Seemingly Similar Threads
- [PATCH 1 of 1] x86_64: Put .note.* sections into a PT_NOTE segment in vmlinux
- [PATCH 2/10] linux 2.6.18: COMPAT_VDSO
- [PATCH 2/10] linux 2.6.18: COMPAT_VDSO
- [PATCH 2/10] linux 2.6.18: COMPAT_VDSO
- [PATCH v3 23/27] x86/modules: Adapt module loading for PIE support
