FW: [PATCH] readelf: attach location views to DW_LLE_startx_endx/startx_length loclists

Project / Subsystem

binutils / firmware

Date

2026-07-09

Proposer

Kamil Bucki <kamil.bucki@nokia.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Improves the accuracy and completeness of debug information displayed by `readelf`.
  • Resolves a spurious warning related to location list analysis.

All attributes

project
binutils
subsystem
firmware
patch_id
discussion_id
AM8PR07MB8310A1AD8CF6A572F05DBE49EDFE2@AM8PR07MB8310.eurprd07.prod.outlook.com
source_type
public_inbox
title
FW: [PATCH] readelf: attach location views to DW_LLE_startx_endx/startx_length loclists
headline
readelf: attach location views to DW_LLE_startx_endx/startx_length loclists
tldr
Fixes readelf to correctly display location views for indexed bounded loclist entries.
proposer
Kamil Bucki <kamil.bucki@nokia.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Improves the accuracy and completeness of debug information displayed by `readelf`.
  • Resolves a spurious warning related to location list analysis.
series_id
series_role
standalone
series_parts
[]
tags
  • readelf
  • dwarf
  • debugging
  • bugfix
  • loclists
bugzilla_url
date
2026-07-09T00:00:00.000Z

FW: [PATCH] readelf: attach location views to DW_LLE_startx_endx/startx_length loclists

This patch addresses an issue in readelf where location views associated with indexed bounded location list entries (DW_LLE_startx_endx and DW_LLE_startx_length) were not being displayed. The display_loclists_list function decodes the range for these entries but fails to consume the corresponding view pair, causing vstart to lag and resulting in a spurious ‘Hole and overlap detection’ warning. By including these two indexed forms in the processing logic, the patch ensures that their view pairs are consumed and printed, resolving the warning and improving debug information display.