about summary refs log tree commit diff
path: root/elf/nodlopenmod2.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2023-02-02 07:49:02 -0500
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2023-02-02 09:29:33 -0500
commit56e00c585420af63fc4df9e28ff9e12bb2a3274f (patch)
tree304016a12d3e8cbe124ed3bb121fb3948405f91a /elf/nodlopenmod2.c
parent93967a2a7bbdcedb73e0b246713580c7c84d001e (diff)
downloadglibc-56e00c585420af63fc4df9e28ff9e12bb2a3274f.tar.gz
glibc-56e00c585420af63fc4df9e28ff9e12bb2a3274f.tar.xz
glibc-56e00c585420af63fc4df9e28ff9e12bb2a3274f.zip
cdefs: Limit definition of fortification macros
Define the __glibc_fortify and other macros only when __FORTIFY_LEVEL >
0.  This has the effect of not defining these macros on older C90
compilers that do not have support for variable length argument lists.

Also trim off the trailing backslashes from the definition of
__glibc_fortify and __glibc_fortify_n macros.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
(cherry picked from commit 2337e04e21ba6040926ec871e403533f77043c40)
Diffstat (limited to 'elf/nodlopenmod2.c')
0 files changed, 0 insertions, 0 deletions