[PATCH v3 2/2] ld testsuite: Update "__patchable_function_entries section [2-6]" test cases

Project / Subsystem

binutils / binutils

Date

2026-07-11

Proposer

Jan Dubiec <jdx@o2.pl>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Ensures the test suite remains valid after the default architecture change.
  • Requires updating tests that were sensitive to address size differences between H8/300 and H8/300H.

All attributes

project
binutils
subsystem
binutils
patch_id
discussion_id
20260711005517.744460-1-jdx@o2.pl
source_type
public_inbox
title
[PATCH v3 2/2] ld testsuite: Update "__patchable_function_entries section [2-6]" test cases
headline
ld testsuite: Update "__patchable_function_entries section [2-6]" test cases
tldr
Updates ld test cases to accommodate the change in default H8 architecture.
proposer
Jan Dubiec <jdx@o2.pl>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Ensures the test suite remains valid after the default architecture change.
  • Requires updating tests that were sensitive to address size differences between H8/300 and H8/300H.
series_id
binutils:ld testsuite: update "__patchable_function_entries section [2-6]" test cases
series_role
reply
series_parts
  • {"title":"ld testsuite: Update \"__patchable_function_entries section [2-6]\" test cases","url":"https://inbox.sourceware.org/binutils/20260710145801.744425-1-jdx@o2.pl"}
tags
  • H8
  • linker
  • testsuite
  • default architecture
  • embedded
bugzilla_url
date
2026-07-11T00:00:00.000Z

[PATCH v3 2/2] ld testsuite: Update "__patchable_function_entries section [2-6]" test cases

This patch addresses test case failures in the ld test suite resulting from the change in the default H8 architecture to H8/300H. The H8/300H variant uses 32-bit addresses in its default advanced mode, differing from the H8/300’s 16-bit addresses, which caused existing test cases related to the __patchable_function_entries section to fail. The patch updates these tests to align with the new addressing behavior.