Hi Thomas,

+/* Linker supports '-v' option.  */
+#define LINK_SPEC "%{v}"

..., Tom rightfully asked:

[...] I wonder, normally we don't pass -v to ld, and need -Wl,-v for
that.

So, on my quest for making things uniform/simple, I now wonder: should we
also forward GCC '-v' to binutils linker, or is there a reason to not do
that?

Not really no.  Historically of course this has not been done, so changing
it now might surprise a few users.  But it should not be that big of an
issue.


So, any particular reason why we would do things differently for
nvptx?

Nope, none at all.

Harmonizing the effect of the -v option sounds like a good idea to me.

Cheers
  Nick

Reply via email to