Ld is broken on ia64

Richard Henderson rth@redhat.com
Sat Aug 18 12:48:00 GMT 2001


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~



More information about the Binutils mailing list