On 1/14/21 11:07 AM, Richard Biener wrote:
I see no particular reason to allow arbitrary garbage to be used as linker. It just asks for users to shoot themselves in the foot and for strange bugreports to pop up.
Well, for a strange bug report, we'll see eventually usage of the --ld-path= option. I see it handy when developing a ld feature to be able to point to a built ld (without need to build GCC with it). Yes, one can use --save-temps --verbose and invoke the built linker, but it's not handy. Martin