Landing: d658ddcc3890

Project / Subsystem

binutils / lto

Date

2026-08-28

Author

"H.J. Lu" <hjl@sourceware.org>

Commit

d658ddcc389085970ac025414cae7ad908f40726

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
lto
patch_id
—
commit_hash
d658ddcc389085970ac025414cae7ad908f40726
source_type
public_inbox
headline
lto: Skip format check for IR dummy files
tldr
Improves linker's LTO handling by skipping format checks on IR dummy files, preventing unnecessary errors.
author
"H.J. Lu" <hjl@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • lto
  • • linker
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-08-28T00:00:00.000Z

This commit modifies the linker’s Language Support module to skip format checks for IR dummy files. Previously, the linker attempted to check the format of these files, which could lead to errors or unexpected behavior, as documented in PR ld/34572. The changes also allow empty DESTLIST in lang_list_remove_tail and introduce new test cases to ensure correct handling of IR dummy files.