What is .data.rel.ro used for?

I use objdump to analyze the memory usage of a shared object. Along with the .data and .rodata sections, I see the .data.rel.ro section .

Does anyone know what this is used for?

+5
source share
1 answer

I found the answer here :

gcc, the GNU linker, and the glibc dynamic linker interact to implement an idea called read-only redirects, or relro. This allows the linker to indicate part of the executable file or (more often) a shared library as read-only after dynamic movements applied.

, -, , , . , , . , , , , .

+8

All Articles