Landing: ed90621b022e

Project / Subsystem

binutils / binutils/bfd

Date

2026-09-18

Author

Christophe Lyon <clyon@sourceware.org>

Commit

ed90621b022ea9f508d71d58a2db9b33162ec760

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
binutils/bfd
patch_id
—
commit_hash
ed90621b022ea9f508d71d58a2db9b33162ec760
source_type
public_inbox
headline
ARM: Fix BE8 encoding for Secure Gateway stubs
tldr
Corrects ARM BE8 encoding for CMSE stubs to match expected output.
author
Christophe Lyon <clyon@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • arm
  • • encoding
  • • linker
  • • security
discussion_id_link
—
bugzilla_pr
—
date
2026-09-18T00:00:00.000Z

This commit fixes an issue with ARM’s Big-Endian 8-bit (BE8) encoding for Secure Gateway (SG) stubs. The Secure Gateway veneers were not being correctly processed for BE8 encoding during the final link phase, leading to incorrect byte ordering in the generated code. The fix ensures these stubs are handled properly and includes a new testcase to verify the correct encoding.