aboutsummaryrefslogtreecommitdiff
path: root/include/ChangeLog
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>2003-05-15 19:02:13 +0000
committerJim Blandy <jimb@gcc.gnu.org>2003-05-15 19:02:13 +0000
commit49a19cfd34783bd7d261bb0caa4ffcda5aa44b96 (patch)
treed12d899096b8ea3aba0270edec52389c46f4100e /include/ChangeLog
parent4b3c2e48c46352fc7b22bbce659422d07dac5604 (diff)
downloadgcc-49a19cfd34783bd7d261bb0caa4ffcda5aa44b96.zip
gcc-49a19cfd34783bd7d261bb0caa4ffcda5aa44b96.tar.gz
gcc-49a19cfd34783bd7d261bb0caa4ffcda5aa44b96.tar.bz2
hex.c (_hex_value): Make this unsigned.
libiberty/ChangeLog: 2003-05-14 Jim Blandy <jimb@redhat.com> * hex.c (_hex_value): Make this unsigned. (hex_value): Update documentation for new return type. hex_value now expands to an unsigned int expression, to avoid unexpected sign extension when we store it in a bfd_vma, which is larger than int on some platforms. * functions.texi: Regenerated. include/ChangeLog: 2003-05-14 Jim Blandy <jimb@redhat.com> * libiberty.h (hex_value): Make the value an unsigned int, to avoid unexpected sign-extension when cast to unsigned types larger than int --- like bfd_vma, on some platforms. (_hex_value): Update declaration. From-SVN: r66840
Diffstat (limited to 'include/ChangeLog')
-rw-r--r--include/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index e4aad2b..c7c271b 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,10 @@
+2003-05-15 Jim Blandy <jimb@redhat.com>
+
+ * libiberty.h (hex_value): Make the value an unsigned int, to
+ avoid unexpected sign-extension when cast to unsigned types larger
+ than int --- like bfd_vma, on some platforms.
+ (_hex_value): Update declaration.
+
2003-05-07 Jason Merrill <jason@redhat.com>
* hashtab.h (iterative_hash): Prototype.