]> git.ipfire.org Git - thirdparty/kmod.git/commit
tools: move a few more symbols to data.rel.ro
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 24 May 2025 18:17:24 +0000 (19:17 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 30 May 2025 02:16:00 +0000 (21:16 -0500)
commit219be963e9fc2d587508f839a21ede50068a191c
treef76048a4aa06bf2f16d27f4c68fadf5667cf46ec
parente3acc663637f0eb3a04d69dc3e8285e2a3e2b903
tools: move a few more symbols to data.rel.ro

Annotate the arrays (not the data) as constant, so the compiler can
store it in the RO segment.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/358
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/kmod.c
tools/static-nodes.c