[PATCH] gas: Document @ and % as interchangeable for type argument in .section

Project / Subsystem

binutils / gas

Date

2026-05-16

Proposer

Will Hawkins <hawkinsw@obs.cr>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Improved documentation clarity at the cost of a small documentation update.

All attributes

project
binutils
subsystem
gas
patch_id
discussion_id
20260516003806.456403-1-hawkinsw@obs.cr
source_type
public_inbox
title
[PATCH] gas: Document @ and % as interchangeable for type argument in .section
headline
gas: Document @ and % as interchangeable for type argument in .section
tldr
Clarifies that the assembler accepts both `@` and `%` characters when specifying section types in the `.section` directive.
proposer
Will Hawkins <hawkinsw@obs.cr>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Improved documentation clarity at the cost of a small documentation update.
series_id
series_role
standalone
series_parts
[]
tags
  • gas
  • documentation
  • assembler
  • ELF
  • section
bugzilla_url
date
2026-05-16T00:00:00.000Z

[PATCH] gas: Document @ and % as interchangeable for type argument in .section

This patch updates the assembler documentation to explicitly state that both the @ and % characters can be used interchangeably when specifying the type argument in the .section directive for ELF files. This avoids confusion for users, especially on targets where @ might be interpreted as the start of a comment. The change improves the clarity of the documentation without altering the assembler’s functionality.