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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux