Landing: c24a0cee2876

Project / Subsystem

binutils / h8300-elf

Date

2026-09-22

Author

Hans-Peter Nilsson <hp@sourceware.org>

Commit

c24a0cee2876f998c437d94666af357f8cda6e59

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
h8300-elf
patch_id
—
commit_hash
c24a0cee2876f998c437d94666af357f8cda6e59
source_type
public_inbox
headline
h8300-elf: ld: Use USER_LABEL_PREFIX when generating linker scripts
tldr
Linker script generation for h8300-elf now correctly uses USER_LABEL_PREFIX.
author
Hans-Peter Nilsson <hp@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • linker
  • • h8300-elf
  • • ABI
discussion_id_link
—
bugzilla_pr
—
date
2026-09-22T00:00:00.000Z

The h8300-elf linker script generation was updated to use USER_LABEL_PREFIX. This change ensures consistency with the GCC compiler’s handling of symbols, which use a leading underscore. Previously, differences in prefix handling could lead to subtle bugs, particularly with weak symbols, and complicated cross-platform development. Test cases for the linker and H8/300 simulator have been updated to reflect this.