New members in struct format_ops in gas/obj.h used with multiformat targets
Nick Clifton
nickc@cygnus.com
Mon May 22 10:18:00 GMT 2000
Hi Hans-Peter,
: I'm not really a fan of the void-value-cast form for macro definitions for
: void function pointers used in obj-multi.h:
: (vfp ? (*vfp)() : (void) 0)
: I'd rather use:
: do { if (vfp) (*vfp)(); } while (0)
: because having void-expressions in the arms of the ? : operator seems
: brittle portabilitywise.
I agree. Feel free to change it over in any future patches.
: Ok to commit?
Yup - go ahead.
Cheers
Nick
More information about the Binutils
mailing list