[PATCH] ld: testsuite: Fix a few backslash-related issues on MinGW.

Jan Dubiec jdx@o2.pl
Fri Jul 17 14:23:37 GMT 2026


On 17.07.2026 14:51, Jan Beulich wrote:
[...]

> But you're making testsuite adjustments. There's no cmd.exe shell involved

Yes, because this is not an ld issue — ld behaves as expected. The 
problem lies in these three test cases, which do not account for the 
fact that different hosts may use different directory separators.

> there, I don't think. Clearly with the many slashes in the paths that you
> quoted, one more slash won't break things?
Sure, but why bother when the linker already does the job? Besides, 
changing that one innocent \ to / doesn't seem like a trivial task to 
me. IMO, it would require fairly extensive testing.

/J.D.


More information about the Binutils mailing list