aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-12-28 09:34:28 +1030
committerAlan Modra <amodra@gmail.com>2018-12-28 15:02:04 +1030
commitcb87d9f1a49986b2eb92ac381444f4cc7c9d8a4f (patch)
tree0e671a28f4d850fa598ad2920be0efe1aff0eb8b /bfd/ChangeLog
parentd1a3c973fa1c0d7eead585e82e02db11daeb36cf (diff)
downloadgdb-cb87d9f1a49986b2eb92ac381444f4cc7c9d8a4f.zip
gdb-cb87d9f1a49986b2eb92ac381444f4cc7c9d8a4f.tar.gz
gdb-cb87d9f1a49986b2eb92ac381444f4cc7c9d8a4f.tar.bz2
PR23966, mingw failure due to 32-bit long
PR 23966 * libbfd.c (SSIZE_MAX): Define. (bfd_malloc, bfd_realloc): Don't cast size to long to check for "negative" values, compare against SSIZE_MAX instead.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 84be63b..8a073f6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+2018-12-28 Alan Modra <amodra@gmail.com>
+
+ PR 23966
+ * libbfd.c (SSIZE_MAX): Define.
+ (bfd_malloc, bfd_realloc): Don't cast size to long to check for
+ "negative" values, compare against SSIZE_MAX instead.
+
2018-12-23 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_rtype_to_howto): Remove the unused bfd