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

This commit is contained in:
Philipp Oppermann
2016-07-14 18:06:52 +02:00
parent d64e4ba2fc
commit 2445b47661

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);