This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: w64 native support needs type abstraction for long


On Wednesday 04 April 2007 10:13, Kai Tietz wrote:
> Hello,
>
> I am currently on the port of binutils (especially of libbfd for gdb) to
> support native windows 64. Here I noticed, that in some places a "long"
> type is used for holding pointer values (e.g. in
> "/include/coff/internal.h" for structure internal_syment). I would like to
> introduce for this the type "longptr_t" defined as follows
>
> and replace these by longptr_t/ulongptr_t. (AFAIK size_t or intptr_t is
> not defined on all platforms).

Either use one of the standard types, or call it something like bfd_hostptr. 
Please don't randomly invent new types that look and sound like they are 
standard.

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]