Landing: 50601290a64c

Project / Subsystem

binutils / binutils/bfd

Date

2026-09-18

Author

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

Commit

50601290a64c8260b2945f1868498a6698813e7c

Source

public_inbox

Perf win

No

Breaking

Yes

All attributes

project
binutils
subsystem
binutils/bfd
patch_id
—
commit_hash
50601290a64c8260b2945f1868498a6698813e7c
source_type
public_inbox
headline
Revert RISC-V attribute handling for empty input files
tldr
Reverts a change that ignored attributes in empty RISC-V input files.
author
"H.J. Lu" <hjl@sourceware.org>
outcome
committed
performance_win
false
breaking_change
true
series_id
—
series_parts
[]
tags
  • • riscv
  • • linker
  • • revert
discussion_id_link
—
bugzilla_pr
—
date
2026-09-18T00:00:00.000Z

This commit reverts a previous change that modified how RISC-V linker handles attributes in empty input files. The reverted change aimed to ignore attributes in such files, but this reversion suggests it caused unintended consequences or regressions, possibly related to how linker scripts or symbol resolution behave with empty object files.