From 47a4e6a9497b068a0400ba3f01629c62608e1ec3 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 17 May 2020 11:57:58 +0200 Subject: Fix note alignment It is architecture defined whether .align means .palign or .balign. Use .balign to make that explicit. Change-Id: I8c7e3760b37edfb207b7088319a338a1f583255b Reviewed-by: Giuseppe D'Angelo Reviewed-by: Thiago Macieira --- src/corelib/global/minimum-linux.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/global/minimum-linux.S b/src/corelib/global/minimum-linux.S index dfc3cec1be..e324379efc 100644 --- a/src/corelib/global/minimum-linux.S +++ b/src/corelib/global/minimum-linux.S @@ -62,7 +62,7 @@ .section ".note.GNU-stack", "", progbits .section ".note.ABI-tag", "a", note - .align 4 /* we have 32-bit data */ + .balign 4 /* we have 32-bit data */ /* * For the format of the note section's contents, see Elf32_Nhdr / Elf64_Nhdr */ .long .Lnameend-.Lname /* n_namesz */ -- cgit v1.2.3