[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/31021] New: as on armv7 rejects @progbits
From: |
jengelh at inai dot de |
Subject: |
[Bug gas/31021] New: as on armv7 rejects @progbits |
Date: |
Wed, 01 Nov 2023 15:26:40 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31021
Bug ID: 31021
Summary: as on armv7 rejects @progbits
Product: binutils
Version: 2.40
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: jengelh at inai dot de
Target Milestone: ---
The GNU info page for GAS from binutils-2.40 specifies in section 7.85
(".section NAME") that
> The optional TYPE argument may contain one of the following
constants:
>
>‘@progbits’
> section contains data
The armv7(hl)-elf-linux target however does not understand @progbits.
$ echo '.section .note.GNU-stack,"",@progbits' >x.s
$ arm-suse-linux-gnueabi-as x.s
x.s: Assembler messages:
x.s:1: Error: junk at end of line, first unrecognized character is `,'
$ aarch64-suse-linux-as x.s
$
Instead, it seems one has to use %progbits. Turning that around, %progbits also
works on amd64 and aarch64, so ...
either the documentation is missing %progbits in the documentation, or the
armv7 target is missing recognition for the @progbits token.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/31021] New: as on armv7 rejects @progbits,
jengelh at inai dot de <=