binutils Newspaper
JULY 29, 2026
binutils Proposed

Convert DOS EOL to Unix in testsuite files

Fixes line endings in many binutils testsuite files to prevent patch application failures.

This patch addresses inconsistent line endings (CRLF vs. LF) in various testsuite files across the Binutils project. By converting these to Unix-style line endings, the author aims to prevent ‘git am’ failures for contributors submitting patches, ensuring a smoother development workflow.

In the Thread 1 participant
  1. Alan Modra <amodra@gmail.com> proposer

    Submits a patch to convert DOS-style CRLF line endings to Unix-style LF in numerous testsuite files to prevent patch application failures.

In Details

This change affects the line endings within the testsuite files of the GNU Binutils project. The goal is to normalize all files to use Unix-style line endings (LF), thereby preventing git am from failing on patches that modify these files due to CRLF mismatches.

For Context
EOL
End Of Line. Refers to the character(s) used to signify the end of a line in text files. DOS/Windows typically uses CRLF (Carriage Return + Line Feed), while Unix-like systems use LF (Line Feed).
testsuite
A collection of tests designed to verify the correctness of the software.
git am
A Git command used to apply patches that are in thembox format, typically found in email archives.
patch failure
Indicates that a patch could not be applied cleanly to the target code, often due to differences in line endings, whitespace, or code structure.
Filed Under: binutilstestsuiteline-endingsgitworkflow