Using the options '--warn-shared-textrel --fatal-warnings' will cause all warnings to be fatal, not just shared-textrel. I'm attaching a patch to add a --error-shared-textrel option, to make DT_TEXTREL in a shared object a fatal error.
Created attachment 1780 [details] Patch to add --error-shared-textrel
-z text is how this was implemented