Commit c755e0eb authored by Laurent Dufour's avatar Laurent Dufour Committed by Pavel Emelyanov

ppc64: pie -- Move the TOC in its own section

PowerPC linking requires the TOC to be in its own section
and to be aligned.
Signed-off-by: 's avatarLaurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f03a4672
...@@ -13,6 +13,9 @@ SECTIONS ...@@ -13,6 +13,9 @@ SECTIONS
.rodata : { .rodata : {
*(.rodata*) *(.rodata*)
*(.got*) *(.got*)
}
.toc : ALIGN(8) {
*(.toc*) *(.toc*)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment