Landing: bb5608a96e40

Project / Subsystem

binutils / alpha

Date

2026-09-05

Author

Sam James <sjames@sourceware.org>

Commit

bb5608a96e4041da8f1e1b0af00111c089b711b2

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
alpha
patch_id
—
commit_hash
bb5608a96e4041da8f1e1b0af00111c089b711b2
source_type
public_inbox
headline
Alpha ELF: Factor out symbol naming logic for relocations
tldr
Refactors Alpha ELF symbol naming for relocations into a common function for better maintainability.
author
Sam James <sjames@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • linker
  • • alpha
  • • refactor
  • • ELF
discussion_id_link
—
bugzilla_pr
—
date
2026-09-05T00:00:00.000Z

This commit refactors the Alpha ELF backend by extracting the logic for determining a symbol’s name, as referenced by a relocation, into a new function called elf64_alpha_sym_name. This common function is then used by relocate_section, replacing duplicated code. The new function also adopts bfd_elf_sym_name for consistency with other backends, which handles section symbols and unknown symbol names more robustly.