PR 34062 type confusion in elf64_ia64_hash_copy_indirect

Project / Subsystem

binutils / binutils

Date

2026-05-01

Proposer

Alan Modra <amodra@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • The patch corrects a type confusion, potentially improving linker stability and correctness.
  • There are no apparent downsides to this fix.

All attributes

project
binutils
subsystem
binutils
patch_id
discussion_id
afShEkDOzdDFVRZI@squeak.grove.modra.org
source_type
public_inbox
title
PR 34062 type confusion in elf64_ia64_hash_copy_indirect
headline
PR 34062: Fix type confusion in elf64_ia64_hash_copy_indirect
tldr
The output BFD should determine the linker hash table and symbol entry types, fixing a type confusion issue.
proposer
Alan Modra <amodra@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • The patch corrects a type confusion, potentially improving linker stability and correctness.
  • There are no apparent downsides to this fix.
series_id
series_role
standalone
series_parts
[]
tags
  • binutils
  • linker
  • bfd
  • elf
  • type confusion
bugzilla_url
date
2026-05-01T00:00:00.000Z

PR 34062 type confusion in elf64_ia64_hash_copy_indirect

Alan Modra proposes a patch to fix a type confusion issue in the linker. The patch ensures that the output BFD (Binary File Descriptor) determines the linker hash table type and symbol entry type, and that output BFD functions are used when manipulating hash table symbols. This avoids using potentially incorrect types from the input BFD.