Landing: 24c9540565df

Project / Subsystem

binutils / avr

Date

2026-09-02

Author

Georg-Johann Lay <gjl@sourceware.org>

Commit

24c9540565df85b1b51f25505d5f99bbbbd18132

Source

public_inbox

Perf win

No

Breaking

Yes

All attributes

project
binutils
subsystem
avr
patch_id
—
commit_hash
24c9540565df85b1b51f25505d5f99bbbbd18132
source_type
public_inbox
headline
AVR: Linker supports .gnu_attribute for double/long double sizes.
tldr
AVR linker now supports .gnu_attribute to encode double/long double sizes, preventing linking of incompatible object files.
author
Georg-Johann Lay <gjl@sourceware.org>
outcome
committed
performance_win
false
breaking_change
true
series_id
—
series_parts
[]
tags
  • • avr
  • • linker
  • • attributes
  • • abi
  • • floating point
discussion_id_link
—
bugzilla_pr
—
date
2026-09-02T00:00:00.000Z

This change adds support for the .gnu_attribute tags Tag_GNU_AVR_BITS_DOUBLE and Tag_GNU_AVR_BITS_LONG_DOUBLE in the AVR toolchain. This allows the linker to detect and report errors when attempting to link object files compiled with different sizes for double or long double, ensuring ABI compatibility.