[PATCH v10 15/28] OAv2 merge: find first input containing an object attributes section
Matthieu Longo
matthieu.longo@arm.com
Thu Dec 18 14:55:56 GMT 2025
More information about the Binutils mailing list
Thu Dec 18 14:55:56 GMT 2025
- Previous message (by thread): [PATCH v10 15/28] OAv2 merge: find first input containing an object attributes section
- Next message (by thread): [PATCH v10 15/28] OAv2 merge: find first input containing an object attributes section
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10/12/2025 11:14, Jan Beulich wrote:
>> + uint32_t sec_type = get_elf_backend_data (abfd)->obj_attrs_section_type;
>> + const char *sec_name = get_elf_backend_data (abfd)->obj_attrs_section;
>> + res->sec = bfd_get_section_by_name (abfd, sec_name);
>> + if (res->sec != NULL)
>> + {
>> + if (elf_section_type (res->sec) != sec_type)
>> + {
>> + info->callbacks->minfo
>> + (_("%X%pB: warning: ignoring section '%s' with unexpected type 0x%x\n"),
> Nit: %#x please in favor of 0x%x. I did Cc you on the respective ld patch,
> I think, and it did go in a little while ago.
I did the replacement but the behavior differs from before for the case 0.
The prefix '0x' is not printed when the format is '%#x' and the value is 0.
Please could you have a look at it ?
Matthieu
- Previous message (by thread): [PATCH v10 15/28] OAv2 merge: find first input containing an object attributes section
- Next message (by thread): [PATCH v10 15/28] OAv2 merge: find first input containing an object attributes section
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list