Re: [PATCH v2] x86/Intel: avoid infinite recursion in i386_intel_simplify_symbol() (again)

Project / Subsystem

binutils / x86/intel

Date

2026-05-16

Proposer

Alan Modra <amodra@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • The proposed fix might not be correct and could introduce new issues.
  • Fixing the recursion issue is important for assembler stability.

All attributes

project
binutils
subsystem
x86/intel
patch_id
discussion_id
agfvorYEpD-ZzK-V@squeak.grove.modra.org
source_type
public_inbox
title
Re: [PATCH v2] x86/Intel: avoid infinite recursion in i386_intel_simplify_symbol() (again)
headline
x86/Intel: Avoid infinite recursion in i386_intel_simplify_symbol()
tldr
Fixes potential infinite recursion in symbol simplification for x86/Intel assembly, but the proposed fix is suspected to be incorrect.
proposer
Alan Modra <amodra@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • The proposed fix might not be correct and could introduce new issues.
  • Fixing the recursion issue is important for assembler stability.
series_id
series_role
reply
series_parts
[]
tags
  • assembler
  • recursion
  • x86
  • intel
  • symbol
bugzilla_url
date
2026-05-16T00:00:00.000Z

Re: [PATCH v2] x86/Intel: avoid infinite recursion in i386_intel_simplify_symbol() (again)

This patch attempts to fix a potential infinite recursion issue in the i386_intel_simplify_symbol() function within the binutils assembler, specifically for x86/Intel syntax. Alan Modra suspects that the proposed fix is not correct. The original bug can cause the assembler to enter an infinite loop when simplifying complex symbol expressions.