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>
This commit is contained in:
Andreas Schwab 2020-05-17 11:57:58 +02:00
parent 09f674fd16
commit 47a4e6a949

View File

@ -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 */