aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-09-14 05:25:24 +0000
committerIan Lance Taylor <ian@airs.com>1992-09-14 05:25:24 +0000
commitca5e9d49dd1f1ccb8bb6320dc910f24a8457c90f (patch)
tree6f311e6b799bf3822ff9562e1fdc8cb0d7df0bab
parent76bf2d5d613356d30a4b9715a4f34da56368a3fe (diff)
downloadgdb-ca5e9d49dd1f1ccb8bb6320dc910f24a8457c90f.zip
gdb-ca5e9d49dd1f1ccb8bb6320dc910f24a8457c90f.tar.gz
gdb-ca5e9d49dd1f1ccb8bb6320dc910f24a8457c90f.tar.bz2
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.
-rw-r--r--gas/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index e831f63..31a41f5 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.