Landing: 7ce2ad458bfe

Project / Subsystem

binutils / bfd

Date

2026-09-03

Author

Alan Modra <amodra@sourceware.org>

Commit

7ce2ad458bfed80640bc9eb2a0450c7391064903

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
bfd
patch_id
—
commit_hash
7ce2ad458bfed80640bc9eb2a0450c7391064903
source_type
public_inbox
headline
Fix tic6x linker failure related to dynamic sections
tldr
Corrected a linker check that incorrectly failed for tic6x targets due to premature dynamic section verification.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • binutils
  • • linker
  • • tic6x
  • • ELF
discussion_id_link
—
bugzilla_pr
—
date
2026-09-03T00:00:00.000Z

This commit fixes a bug in the BFD linker that caused failures for the tic6x target (PR34550). The issue stemmed from an optimization that moved the check for dynamic_sections_created too early in the linking process. This check needs to occur after the hash table type is verified. The fix ensures this check is performed at the appropriate stage, allowing bfd_elf_link_create_dynamic_sections to run, which correctly handles early exits if dynamic sections are already present.