This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: size of bfd_vma
- From: Mohamed KORBOSLI <korbosli at webmails dot com>
- To: nickc at redhat dot com
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 15 Jul 2005 11:00:43 +0200
- Subject: Re: size of bfd_vma
- Reply-to: korbosli at webmails dot com
Hi Nick,
I have already dad a look to bfd/bfd-in.h and what I understood that the bfd_vma
type is defined as an "unsigned long" on 32 bits machine and as an "unsigned long
long" on 64 ones;
Am I correct?
Regards
Mohamed
>Hi Mohamed,
>> I 'm developping a program reading a binary file which contains bfd_vma records,
my program is used to run on linux 32 bits/solaris 64bits.
>> Knowing that i will not use bfd library, I have to define a type to hold bfd_vma
records but it seems that it depends on platform running the program,
>> Any help to define such a type?
>Why not use the code that already exists in bfd/bfd-in.h ?
>Cheers
>Nick
---- Msg sent via WebMails.com - http://www.webmails.com/