[PATCH][ld/testsuite] Fix sysroot-prefix.exp on Windows.

Igor Kudrin ikudrin@accesssoftek.com
Wed Feb 8 13:44:00 GMT 2017


Hi,

On Windows, the linker works with Windows-style paths, However,
when tests run in MSYS2 environment, they use Unix-style paths.
This patch converts $base_dir into the native style on *-*-mingw*
and *-*-cygwin hosts.

Best regards,
Igor Kudrin

---
ld/ChangeLog

	testsuite/ld-scripts/sysroot-prefix.exp
	(get_base_dir_for_scripts): New function.
	(run_sysroot_prefix_test): Use get_base_dir_for_scripts.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ld-test-sysroot-prefix-on-windows.patch.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20170208/7bd349ca/attachment.txt>


More information about the Binutils mailing list