]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Modify ENTRY in sysdep.h so that p2align can be specified
authorNoah Goldstein <goldstein.w.n@gmail.com>
Tue, 21 Sep 2021 23:31:49 +0000 (18:31 -0500)
committerSunil K Pandey <skpgkp2@gmail.com>
Mon, 2 May 2022 20:00:12 +0000 (13:00 -0700)
commite47c117d01082139562f7ce6ed7d28c5307f95cc
tree1df3a825f23fff7fe4d0d06131735844dc56b682
parentc09d92d4f657560bf884c735bc8fdd53e4276367
x86: Modify ENTRY in sysdep.h so that p2align can be specified

No bug.

This change adds a new macro ENTRY_P2ALIGN which takes a second
argument, log2 of the desired function alignment.

The old ENTRY(name) macro is just ENTRY_P2ALIGN(name, 4) so this
doesn't affect any existing functionality.

Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit fc5bd179ef3a953dff8d1655bd530d0e230ffe71)
sysdeps/x86/sysdep.h