enum { BFD_ENDIAN_BIG, ...}

Richard Henderson rth@redhat.com
Mon Dec 17 17:02:00 GMT 2001
On Tue, Dec 18, 2001 at 10:59:41AM +1030, Alan Modra wrote:
> While we're on this subject, note that initialising pointers (and FP) to
> all-bits-zero via memset is not strictly portable.  Not all architectures
> represent a NULL pointer as all-bits-zero.  The C-FAQ mentions a number
> of such machines.  http://www.eskimo.com/~scs/C-faq/top.html

Whatever.  None of them are live.

Nor, IMO, will there ever be another machine created with a non-zero
NULL.  The assumption is now so universally ingrained it would cause
more trouble than it would be worth.


r~



More information about the Binutils mailing list