This is the mail archive of the binutils@sources.redhat.com 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]

Re: Ld is broken on ia64


On Sun, Aug 19, 2001 at 12:36:04AM +0930, Alan Modra wrote:
> +  ptr_off = ((char *) &((lang_statement_union_type *) 0)->header.next
> +	     - (char *) 0);

<stddef.h> defines offsetof, which does what you want here.


r~


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