Re: [PATCH] c6x: fix unwinding instructions for some values of cfa_offset

Project / Subsystem

binutils / c6x

Date

2026-08-14

Proposer

Jan Beulich <jbeulich@suse.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

6/10

Technical tradeoffs

  • • Ensures correct stack unwinding for the C6000 architecture.
  • • Minor code adjustment for accuracy.

All attributes

project
binutils
subsystem
c6x
patch_id
—
discussion_id
20251227213101.3502073-1-rbraun@sceen.net
source_type
public_inbox
title
Re: [PATCH] c6x: fix unwinding instructions for some values of cfa_offset
headline
c6x: fix unwinding instructions for some values of cfa_offset
tldr
Corrects a bug in C6000 stack unwinding instructions to handle larger cfa_offset values.
proposer
Jan Beulich <jbeulich@suse.com>
consensus
Proposed
outcome
proposed
sentiment_score
6
technical_tradeoffs
  • • Ensures correct stack unwinding for the C6000 architecture.
  • • Minor code adjustment for accuracy.
series_id
—
series_role
standalone
series_parts
[]
tags
  • • c6x
  • • binutils
  • • gas
  • • unwinding
  • • cfa_offset
bugzilla_url
—
date
2026-08-14T00:00:00.000Z

Re: [PATCH] c6x: fix unwinding instructions for some values of cfa_offset

This patch series addresses an issue in the C6000 stack unwinding instructions related to the cfa_offset. The original implementation had a bug when handling cfa_offset values greater than 0x40. This change corrects the calculation for such offsets, ensuring proper stack unwinding according to the C6000 EABI.