summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2019-02-26 02:36:15 -0800
committerH. Peter Anvin <hpa@zytor.com>2019-02-26 02:36:15 -0800
commita8604c83fa8ece9859fb76b328b8753f549b8863 (patch)
treea971620f1a0255a97322075b83dda33a15cd53d1 /doc
parentdc5939b4960e169e19c536e5503ec4487cff550d (diff)
downloadnasm-a8604c83fa8ece9859fb76b328b8753f549b8863.tar.gz
ELF: the .note section should be 4-byte aligned
The ELF .note section contains of 4-byte words and should be aligned accordingly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/nasmdoc.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index cb58045a..8310faac 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -6013,7 +6013,7 @@ qualifiers are:
\c section .preinit_array preinit_array alloc noexec nowrite pointer
\c section .init_array init_array alloc noexec nowrite pointer
\c section .fini_array fini_array alloc noexec nowrite pointer
-\c section .note note noalloc noexec nowrite align=1
+\c section .note note noalloc noexec nowrite align=4
\c section other progbits alloc noexec nowrite align=1
(Any section name other than those in the above table