From 3085b31336302f3271e8bace75a172348bcfd2a9 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:13:27 +0100 Subject: [PATCH] Ensure __altrelocs_start is correctly aligned --- linkers/x86_64.ld | 1 + 1 file changed, 1 insertion(+) diff --git a/linkers/x86_64.ld b/linkers/x86_64.ld index 56959665ab..c6c04349d9 100644 --- a/linkers/x86_64.ld +++ b/linkers/x86_64.ld @@ -23,6 +23,7 @@ SECTIONS { __altcode_start = .; KEEP(*(.altcode*)) __altcode_end = .; + . = ALIGN(8); __altrelocs_start = .; KEEP(*(.altrelocs*)) __altrelocs_end = .;