If one or more dynamic relocation might modify a read-only section, dynamic table should contain DT_TEXTREL tag.
The patch introduces new RelocationTable::canModifyReadonlySection() method. This method checks through the relocations to see if any modifies a read-only section. The DynamicTable class calls this method and emits the DT_TEXTREL tag if necessary.
can you expand "auto"?