summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2020-05-17 11:57:58 +0200
committerAndreas Schwab <schwab@suse.de>2020-06-19 14:28:47 +0200
commit47a4e6a9497b068a0400ba3f01629c62608e1ec3 (patch)
tree43859ff3d127c32cf9a4aac444438187c9c9ab18
parent09f674fd1641482957571612632cbebbe7b03d5a (diff)
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 <giuseppe.dangelo@kdab.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r--src/corelib/global/minimum-linux.S2
1 files changed, 1 insertions, 1 deletions
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 */