[PATCH v1] bfd: use correct format specifier for uint64_t
Matthieu Longo
matthieu.longo@arm.com
Thu Jan 22 12:57:54 GMT 2026
---
bfd/elf-attrs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bfd/elf-attrs.c b/bfd/elf-attrs.c
index 904e097cf97..fe85f4b4712 100644
--- a/bfd/elf-attrs.c
+++ b/bfd/elf-attrs.c
@@ -688,7 +688,7 @@ _bfd_obj_attr_v2_tag_to_string (const struct elf_backend_data *bed,
= _bfd_obj_attr_v2_find_known_by_tag (bed, subsec_name, tag);
if (attr_info != NULL)
return xstrdup (attr_info->tag.name);
- return xasprintf ("Tag_unknown_%lu", tag);
+ return xasprintf ("Tag_unknown_%"PRIu64, tag);
}
/* To-string function for the subsection parameter "comprehension". */
--
2.52.0
More information about the Binutils
mailing list