From fc525dad3a83de2f6cc3ca20e1527ec11c399743 Mon Sep 17 00:00:00 2001 From: Henry Wang Date: Thu, 16 Jul 2026 14:16:02 -0700 Subject: [PATCH] Pins note.ABI-tag section sh_addralign to 4 Signed-off-by: Henry Wang --- src/nvc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvc.c b/src/nvc.c index 54f0d3ac..e1902665 100644 --- a/src/nvc.c +++ b/src/nvc.c @@ -41,7 +41,7 @@ const char interpreter[] __attribute__((section(".interp"))) = LIB_DIR "/" LD_SO const struct __attribute__((__packed__)) { Elf64_Nhdr hdr; uint32_t desc[5]; -} abitag __attribute__((section (".note.ABI-tag"))) = { +} abitag __attribute__((section (".note.ABI-tag"), aligned(4))) = { {0x04, 0x10, 0x01}, {0x554e47, 0x0, 0x3, 0xa, 0x0}, /* GNU Linux 3.10.0 */ };