btf: Fix -Wformat errors
commitf2e60a00c7c017bd87ba9afb189cbb77d8c92925
authorAlex Coplan <alex.coplan@arm.com>
Fri, 2 Jun 2023 15:58:19 +0000 (2 16:58 +0100)
committerAlex Coplan <alex.coplan@arm.com>
Fri, 2 Jun 2023 15:58:24 +0000 (2 16:58 +0100)
tree994b0bf52733e19bcff21e4c584faabdd2e84d76
parent9872d56661ade358c440914361c1ebdccd975bec
btf: Fix -Wformat errors

g:7aae58b04b92303ccda3ead600be98f0d4b7f462 introduced -Wformat errors
breaking bootstrap on some targets. This patch fixes that.

Committed as obvious.

gcc/ChangeLog:

* btfout.cc (btf_asm_type): Use PRIu64 instead of %lu for uint64_t.
(btf_asm_datasec_type): Likewise.
gcc/btfout.cc