[PATCH] ld: replace another @progbits etc in an ELF testcase

Jan Beulich jbeulich@suse.com
Mon Jan 20 07:31:08 GMT 2025


On 18.01.2025 04:39, Maciej W. Rozycki wrote:
> On Fri, 17 Jan 2025, Jan Beulich wrote:
> 
>> The canonical form is %progbits and alike.
> 
>  Not according to the GAS manual; @progbits, etc. has always been the 
> canonical form (with an alternative form used for problematic targets).

"Canonical" as in "for uses in the testsuite", which is largely orthogonal
to what the doc says here.

That said, really I think using the % form also isn't ideal (yet if we
were to switch, we should do so everywhere rather than introducing an odd
special case here). MMIX uses % as a comment char; the uses in the
testsuite merely cause no problem there because is_elf_format() doesn't
evaluate to true for MMIX (which arguably might also be wrong).

Jan


More information about the Binutils mailing list