diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-03-17 17:46:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-03-17 17:46:58 +0000 |
commit | 8b4a5fafe19d9bdd9a3fc36d0adf2c3d1e6f7d3d (patch) | |
tree | fc2716eb44a0eba0cd7b574f405d8598dfcebdd6 | |
parent | b73dd4a208f57ced178781bfe68556c8943bb819 (diff) | |
download | gdb-8b4a5fafe19d9bdd9a3fc36d0adf2c3d1e6f7d3d.zip gdb-8b4a5fafe19d9bdd9a3fc36d0adf2c3d1e6f7d3d.tar.gz gdb-8b4a5fafe19d9bdd9a3fc36d0adf2c3d1e6f7d3d.tar.bz2 |
* ecoff-ext.h (AUX_PUT_ANY): Don't use void values in branches of
conditional expression.
-rw-r--r-- | include/coff/ChangeLog | 23 | ||||
-rw-r--r-- | include/coff/ecoff-ext.h | 4 |
2 files changed, 25 insertions, 2 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 40dd3f8..129da9a 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 4683e88..c7e3f91 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) |