Re: [PATCH 1/2] RISC-V: Release subset lists on all paths when the linker merges arch attributes

Project / Subsystem

binutils / risc-v

Date

2026-07-07

Proposer

Nelson Chu <nelson.chu@sifive.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

All attributes

project
binutils
subsystem
risc-v
patch_id
discussion_id
CAOvetVCPXtFsRmBLCdrEiEdpzYfVgp4v=f2N1JuB4OS47bDLfw@mail.gmail.com
source_type
public_inbox
title
Re: [PATCH 1/2] RISC-V: Release subset lists on all paths when the linker merges arch attributes
headline
RISC-V: First patch for arch attribute merging approved
tldr
Nelson Chu approves the first patch in the RISC-V linker arch attribute series, which fixes memory leaks.
proposer
Nelson Chu <nelson.chu@sifive.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
[]
series_id
binutils:risc-v: release subset lists on all paths when the linker merges arch attributes
series_role
reply
series_parts
  • {"title":"RISC-V: Release subset lists on all paths when the linker merges arch attributes","url":"https://inbox.sourceware.org/binutils/20260706114428.3967240-2-ycl669@andestech.com"}
tags
  • risc-v
  • linker
  • memory leak
  • patch review
bugzilla_url
date
2026-07-07T00:00:00.000Z

Re: [PATCH 1/2] RISC-V: Release subset lists on all paths when the linker merges arch attributes

Nelson Chu approves the first patch in Ethan Y. C. Liang’s series, which addresses memory leaks in the RISC-V linker’s architecture attribute merging function. The patch ensures that subset lists are properly released on all error paths, preventing memory leaks that could carry over to subsequent merges.