ld writes .plt immediately after .text which corrupts the alignment of .reloc Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
@@ -17,6 +17,7 @@ SECTIONS
*(.text)
*(.text.*)
*(.gnu.linkonce.t.*)
+ *(.plt)
. = ALIGN(16);
}
_etext = .;
@@ -9,6 +9,7 @@ SECTIONS
@@ -11,6 +11,7 @@ SECTIONS {
@@ -19,6 +19,7 @@ SECTIONS