[PATCH 3/4] ELF: SHF_STRINGS isn't really tied to SHF_MERGE

Richard Sandiford richard.sandiford@arm.com
Fri Jan 17 10:11:04 GMT 2025


Hans-Peter Nilsson <hp@bitrange.com> writes:
> On Wed, 15 Jan 2025, Richard Sandiford wrote:
>> We have a codebase that made a lot of use of constructs like:
>> 
>> 	.section .rodata.foo, "aS"
>> foo:
>>         .asciz "..."
>> 
>> which after this patch need to become:
>> 
>> 	.section .rodata.foo, "aS", @progbits, 1
>
> It's not "%progbits" for ARM (sp?) targets?

@ is fortunately not a comment character for AArch64, only AArch32.

Richard


More information about the Binutils mailing list