From 8b4a5fafe19d9bdd9a3fc36d0adf2c3d1e6f7d3d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 17 Mar 1993 17:46:58 +0000 Subject: [PATCH] * ecoff-ext.h (AUX_PUT_ANY): Don't use void values in branches of conditional expression. --- include/coff/ChangeLog | 23 +++++++++++++++++++++++ include/coff/ecoff-ext.h | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 40dd3f86f52..129da9a93c6 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,3 +1,26 @@ +Wed Mar 17 09:46:03 1993 Ian Lance Taylor (ian@cygnus.com) + + * ecoff-ext.h (AUX_PUT_ANY): Don't use void values in branches of + conditional expression. + +Thu Mar 4 14:12:06 1993 Ian Lance Taylor (ian@cygnus.com) + + * ecoff-ext.h (AUX_GET_*): Rewrote to use new macro AUX_GET_ANY. + (AUX_PUT_*): New macros corresponding to the AUX_GET macros. + (ecoff_swap_tir_out): Added prototype. + + * mips.h (N_BTMASK, N_TMASK, N_BTSHFT, N_TSHIFT): Define; these + are needed to interpret gcc debugging output. + +Tue Feb 9 07:43:27 1993 Ian Lance Taylor (ian@cygnus.com) + + * we32k.h (BTYPE, ISPTR, ISFCN, ISARY, DECREF): Removed + more definitions duplicated in internal.h. + +Wed Feb 3 09:18:24 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.h (RELOC_BITS3_TYPE_*): Correct for big endian machines. + Mon Jan 25 11:35:51 1993 Ian Lance Taylor (ian@cygnus.com) * internal.h (internal_aouthdr): Added additional fields used only diff --git a/include/coff/ecoff-ext.h b/include/coff/ecoff-ext.h index 4683e880164..c7e3f91d2ef 100644 --- a/include/coff/ecoff-ext.h +++ b/include/coff/ecoff-ext.h @@ -295,8 +295,8 @@ extern void _do_putl32 PARAMS ((bfd_vma data, unsigned char *addr)); #define AUX_PUT_ANY(bigend, val, ax, field) \ ((bigend) \ - ? _do_putb32 ((val), (ax)->field) \ - : _do_putl32 ((val), (ax)->field)) + ? (_do_putb32 ((val), (ax)->field), 0) \ + : (_do_putl32 ((val), (ax)->field), 0)) #define AUX_PUT_DNLOW(bigend, val, ax) \ AUX_PUT_ANY ((bigend), (val), (ax), a_dnLow) -- 2.30.2