From: Ian Lance Taylor Date: Mon, 14 Sep 1992 05:25:24 +0000 (+0000) Subject: Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca5e9d49dd1f1ccb8bb6320dc910f24a8457c90f;p=binutils-gdb.git Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com) * Added WARN_SIGNED_OVERFLOW_WORD define to give an error if any .word is < -32768 or > 32767. The -J flag causes the error to be ignored. This is to catch over-sized switches generated by gcc on systems which don't support the broken .word hack. as.c (main): permit -J if WARN_SIGNED_OVERFLOW_WORD. write.c (fixup_segment): check for signed .word overflow if WARN_SIGNED_OVERFLOW_WORD. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index e831f63d380..31a41f59bfd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,13 @@ Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com) + * Added WARN_SIGNED_OVERFLOW_WORD define to give an error if any + .word is < -32768 or > 32767. The -J flag causes the error to be + ignored. This is to catch over-sized switches generated by gcc on + systems which don't support the broken .word hack. + as.c (main): permit -J if WARN_SIGNED_OVERFLOW_WORD. + write.c (fixup_segment): check for signed .word overflow if + WARN_SIGNED_OVERFLOW_WORD. + * write.c (fixup_segment): fixed missing parens in expression checking for byte or word overflow.