Landing: 1a5ae95bc1fd

Project / Subsystem

binutils / binutils/bfd

Date

2026-05-01

Author

Alan Modra

Commit

1a5ae95bc1fde4aeb159e4e963118b17e1e730b5

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
binutils/bfd
patch_id
commit_hash
1a5ae95bc1fde4aeb159e4e963118b17e1e730b5
source_type
public_inbox
headline
Fix type confusion in elf64_ia64_hash_copy_indirect
tldr
Corrects type confusion in symbol handling within the ELF linker, preventing potential errors when merging object files.
author
Alan Modra
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • bfd
  • elf
  • linker
  • symbol
  • bugfix
discussion_id_link
public_inbox:binutils#34062
bugzilla_pr
date
2026-05-01T00:00:00.000Z

The ELF linker incorrectly used the input BFD’s (Binary File Descriptor) data structures instead of the output BFD’s when manipulating hash table symbols. This could lead to type confusion and potential errors during symbol merging, especially in scenarios involving shared libraries or object files with different architectures. The fix ensures that the output BFD’s data structures are used consistently, resolving the type confusion and preventing potential issues with symbol handling.