gold linker manual describes them as:
-z text Do not permit relocations in read-only segments
-z notext Permit relocations in read-only segments (default)
In LLD default is to not permit them. Patch implements -z notext.
Differential D30530
[ELF] - Implemented -znotext grimar on Mar 2 2017, 2:52 AM. Authored by
Details gold linker manual describes them as: -z text Do not permit relocations in read-only segments In LLD default is to not permit them. Patch implements -z notext.
Diff Detail
Event TimelineComment Actions Linux kernel uses text relocations when KASLR (Kernel address space layout randomization) is enabled. Comment Actions No, we have no way not to fail with text relocations now.
|