[PATCH v1] Fix wrong auxtype for storage class warning in AIX.

Project / Subsystem

binutils / binutils

Date

2026-08-04

Proposer

Aditya Vidyadhar Kamath <akamath996@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Fixes a spurious warning, improving the debugging experience for AIX 64-bit binaries.
  • • Silently ignores `_AUX_EXCEPT` entries, which BFD does not need to parse, simplifying the parser.

All attributes

project
binutils
subsystem
binutils
patch_id
—
discussion_id
20260804064507.45079-2-akamath996@gmail.com
source_type
public_inbox
title
[PATCH v1] Fix wrong auxtype for storage class warning in AIX.
headline
Fix wrong auxtype for storage class warning in AIX.
tldr
Fixes a warning in BFD when processing AIX 64-bit binaries with exception table symbols.
proposer
Aditya Vidyadhar Kamath <akamath996@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Fixes a spurious warning, improving the debugging experience for AIX 64-bit binaries.
  • • Silently ignores `_AUX_EXCEPT` entries, which BFD does not need to parse, simplifying the parser.
series_id
—
series_role
cover
series_parts
[]
tags
  • • binutils
  • • BFD
  • • AIX
  • • debugging
  • • XCOFF
bugzilla_url
—
date
2026-08-04T00:00:00.000Z

[PATCH v1] Fix wrong auxtype for storage class warning in AIX.

Aditya Vidyadhar Kamath submits a patch to resolve a spurious warning in BFD when debugging 64-bit AIX binaries. The warning, ‘wrong auxtype … for storage class’, occurred because BFD’s _bfd_xcoff64_swap_aux_in() function did not properly handle the _AUX_EXCEPT auxiliary entry, which is used for functions with exception tables. The fix modifies the function to silently skip _AUX_EXCEPT entries, as BFD does not need to parse their payload, thus eliminating the warning.