so_relrodata
In this section:
Default definition
define block so_relrodata with alignment = 4 { rw section .data.rel.ro };
Description
Holds relocatable read-only constants.
If you have custom sections that you want to be relocated when the shared object is loaded, not at link time, add them to this definition. These are the only sections that are processed this way.
Example
define block so_relrodata with alignment = 4 { rw section .data.rel.ro, rw section .myCustomSection };This places the read-only content from the sections .data.rel.ro and .myCustomSection into the so_relrodata block. The content of that block is then relocated at load time by the dynamic linker, not at link time by ILINK.