Landing: 8818c4798003

Project / Subsystem

binutils / avr

Date

2026-08-16

Author

Georg-Johann Lay <gjl@sourceware.org>

Commit

8818c47980038800239da822cfef2aa63e0fac1f

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
avr
patch_id
—
commit_hash
8818c47980038800239da822cfef2aa63e0fac1f
source_type
public_inbox
headline
AVR: Support GNU attribute for vtable address spaces
tldr
Adds support for a GNU attribute to specify AVR vtable address spaces, improving ABI compatibility.
author
Georg-Johann Lay <gjl@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • avr
  • • embedded
  • • abi
  • • compiler
  • • linker
discussion_id_link
—
bugzilla_pr
—
date
2026-08-16T00:00:00.000Z

This commit introduces support for .gnu_attribute 4 (Tag_GNU_AVR_VTABLE_AS) for AVR targets. This allows C++ virtual tables to be placed in specific address spaces, which is crucial for upcoming support in G++ for ISO/IEC TR 18037 ‘Embedded C’ named address spaces. The new attribute helps detect ABI violations by tagging object files with information about the vtable address space used.