Landing: 6dc6342541de

Project / Subsystem

binutils / gas

Date

2026-05-22

Author

Jan Beulich <jbeulich@sourceware.org>

Commit

6dc6342541de90fbe8726c11c5a45f9475ffb815

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
gas
patch_id
commit_hash
6dc6342541de90fbe8726c11c5a45f9475ffb815
source_type
public_inbox
headline
Gas: Clarify documentation about @ and % usage in .section directive
tldr
The assembler documentation now clearly explains when to use '@' or '%' for section directives.
author
Jan Beulich <jbeulich@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • assembler
  • documentation
  • ELF
  • ARM
discussion_id_link
bugzilla_pr
date
2026-05-22T00:00:00.000Z

The documentation for the .section assembler directive in the ELF format was updated to clarify when to use the @ and % characters. Some targets treat @ as the start of a comment (e.g., ARM), and on those platforms, % should be used instead. On platforms where neither @ nor % start a comment, they can be used interchangeably.