After clang release/16.x there is a regression that -mabi=elfv1
or -mabi=elfv2 are being unused and throws warning. But clang-trunk
throws error for -mabi=elfv2 or elfv1. Intent of this patch to accept
elfv1 or elfv2 for -mabi.
PR : https://github.com/llvm/llvm-project/issues/64122
godBolt : https://godbolt.org/z/asbMY1K37
-target has been deprecated since Clang 3.4. Use --target= for new tests:_