> What if an ld option makes sense with an empty argument, e.g. -Wl,-h, or
> -Wl,-l, ? It's a borderline case, I know, and I suppose you can do
> -Xlinker '', but it seems like an arbitrary limitation for an option
> that does pass-through by definition.
The xgcc driver is constructing an argv array, and one of the entries in
the argv array is pointing at a zero-length string. There is no way to
type such a thing on a shell command line. You can certainly type
something like '' which would be a 2 character string as an argument,