From ca5e9d49dd1f1ccb8bb6320dc910f24a8457c90f Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 14 Sep 1992 05:25:24 +0000 Subject: [PATCH] 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. --- gas/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- 2.30.2