Re: [PATCH] tools: mips-relocs: replace format string introducers

2025-07-30 Thread Tom Rini
On Tue, 22 Jul 2025 15:57:17 +0200, Justin Swartz wrote: > The statement that prints the ELF object type value assumes that "%lx" > (long unsigned int, hexadecimal) is suitable for printing a uint64_t > typed value. While this may seem to work for some machines, ie. amd64, > it isn't ideal on a 32

[PATCH] tools: mips-relocs: replace format string introducers

2025-07-22 Thread Justin Swartz
The statement that prints the ELF object type value assumes that "%lx" (long unsigned int, hexadecimal) is suitable for printing a uint64_t typed value. While this may seem to work for some machines, ie. amd64, it isn't ideal on a 32-bit system, such as x86 where uint64_t is likely to be equivalent