Move the .dynamic section into the read-only segment.
Temporarily add a second code segment.