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

Jan Dubiec <[email protected]> Fri, 17 Jul 2026 16:23:37 +0200
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
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.