Re: [PATCH] Make elf2ecoff work on 64bit host machines

From: Thomas Bogendoerfer
Date: Sat Jun 02 2018 - 09:43:19 EST


On Thu, 31 May 2018 17:03:11 -0700
Paul Burton <paul.burton@xxxxxxxx> wrote:


> Perhaps we should #include <stdint.h> before making use of the types it
> provides?

good point, will send a new version.

> > @@ -518,7 +518,7 @@ int main(int argc, char *argv[])
> >
> > for (i = 0; i < nosecs; i++) {
> > printf
> > - ("Section %d: %s phys %lx size %lx file offset %lx\n",
> > + ("Section %d: %s phys %x size %x file offset %x\n",
>
> Maybe #include <inttypes.h>, then use PRIx32 & co here & below?

I'll have look.

Thomas.