projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4ff0f
)
x86: link-time .data section adjustments
author
Keir Fraser
<keir@xen.org>
Fri, 24 Dec 2010 08:47:59 +0000
(08:47 +0000)
committer
Keir Fraser
<keir@xen.org>
Fri, 24 Dec 2010 08:47:59 +0000
(08:47 +0000)
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>
xen/arch/x86/xen.lds.S
patch
|
blob
|
history
diff --git
a/xen/arch/x86/xen.lds.S
b/xen/arch/x86/xen.lds.S
index 49691d35c5b94347a054fd1ab126c3c57305abb7..16e710c3fd73e701ee409539b50dbb18c83e09cd 100644
(file)
--- a/
xen/arch/x86/xen.lds.S
+++ b/
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