binutils Newspaper
OCTOBER 6, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
binutils/testsuite

Fix objdump --source-comment test on Windows

Objdump test case for --source-comment now passes on Windows.

A test case for objdump --source-comment failed on Windows due to path conversion issues in the MSYS2 environment. This commit adjusts the test to correctly handle Windows-style paths, ensuring the test passes.

In Details

The objdump --source-comment test case in binutils/testsuite failed on Windows hosts. This was due to MSYS2's automatic conversion of Unix-style paths to Windows-style paths, resulting in incorrect arguments being passed to objdump. The test now accounts for this behavior.

For Context
objdump
A command-line utility that displays information from object files, such as disassembled code, symbol tables, and section headers.
MSYS2
A software distribution and building platform for Windows, providing a Unix-like command-line environment and tools.
Filed Under: testsuitewindowsbugfix