Explicity set memory associated with the wrapped function to writable.  This should remove the requirement for CONFIG_DEBUG_RODATA=n