Landing: 64ca9aa24218

Project / Subsystem

binutils / binutils/objcopy

Date

2026-07-07

Author

Alan Modra <amodra@sourceware.org>

Commit

64ca9aa24218cee8b31c4dc47694369da67b1acd

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
binutils/objcopy
patch_id
commit_hash
64ca9aa24218cee8b31c4dc47694369da67b1acd
source_type
public_inbox
headline
Fix objcopy crash when updating SHT_GROUP sections
tldr
objcopy no longer crashes when attempting to update SHT_GROUP sections.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • binutils
  • objcopy
  • bugfix
discussion_id_link
public_inbox:binutils#34353
bugzilla_pr
date
2026-07-07T00:00:00.000Z

objcopy previously crashed with a null-pointer dereference when the —update-section option was used on a SHT_GROUP section. This occurred because the output_section was NULL in such cases. This change modifies objcopy to correctly handle this scenario, preventing the crash and improving error reporting.