diff options
author | Jim Blandy <jimb@codesourcery.com> | 2003-05-15 19:08:25 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2003-05-15 19:08:25 +0000 |
commit | e4f79046293deef6d3ce06dde44c488309efab4a (patch) | |
tree | e80f5437354bd4298faeb38de236531d683013d2 /libiberty/ChangeLog | |
parent | cc8c88f3a72b13a50df0330e7720612931102e95 (diff) | |
download | gdb-e4f79046293deef6d3ce06dde44c488309efab4a.zip gdb-e4f79046293deef6d3ce06dde44c488309efab4a.tar.gz gdb-e4f79046293deef6d3ce06dde44c488309efab4a.tar.bz2 |
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.
Diffstat (limited to 'libiberty/ChangeLog')
-rw-r--r-- | libiberty/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 0669803..d30c591 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,12 @@ +2003-05-15 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. + 2003-05-07 Josef Zlomek <zlomekj@suse.cz> * splay-tree.c (splay_tree_predecessor): Fix comment. |