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

Project / Subsystem

binutils / x86/intel

Date

2026-05-08

Proposer

Jan Beulich <jbeulich@suse.com>

Source type

public_inbox

Consensus

Under Review

Sentiment

/10

Technical tradeoffs

  • The patch adds complexity to the symbol simplification logic.
  • The added testcase increases the testsuite runtime.

All attributes

project
binutils
subsystem
x86/intel
patch_id
discussion_id
6c7ea50b-2bd6-45b8-9112-e452b5a2c376@suse.com
source_type
public_inbox
title
[PATCH] x86/Intel: avoid infinite recursion in i386_intel_simplify_symbol() (again)
headline
X86/Intel: avoid infinite recursion in i386_intel_simplify_symbol() (again)
tldr
This patch fixes an infinite recursion issue in i386_intel_simplify_symbol() and adds a testcase to prevent regressions.
proposer
Jan Beulich <jbeulich@suse.com>
consensus
Under Review
outcome
proposed
sentiment_score
technical_tradeoffs
  • The patch adds complexity to the symbol simplification logic.
  • The added testcase increases the testsuite runtime.
series_id
series_role
standalone
series_parts
[]
tags
  • assembler
  • x86
  • intel syntax
  • recursion
  • gas
bugzilla_url
date
2026-05-08T00:00:00.000Z

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

Jan Beulich submits a patch to fix an infinite recursion issue in the i386_intel_simplify_symbol() function, which is related to PR gas/30308. The issue re-emerged due to insufficient use of the “resolving” property. The patch adds a testcase to prevent future regressions. He also notes a failure on COFF/PE targets when --32 is used and “noprefix” is missing.