Add aligned .got and .got.plt sections to linker script

(cherry picked from commit 2445b47661)
This commit is contained in:
Philipp Oppermann
2016-07-14 18:06:52 +02:00
parent 0a7843abd9
commit f5af9e25e4

View File

@@ -40,6 +40,18 @@ SECTIONS {
. = ALIGN(4K);
}
.got :
{
*(.got)
. = ALIGN(4K);
}
.got.plt :
{
*(.got.plt)
. = ALIGN(4K);
}
.data.rel.ro : ALIGN(4K) {
*(.data.rel.ro.local*) *(.data.rel.ro .data.rel.ro.*)
. = ALIGN(4K);