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 | ac5e8cb29c19dcd286d78ad5cfa84dd6bcbf63d1 (patch) | |
tree | de63357f9ac31b98e536024db1a18af206b2e34e /include/ChangeLog | |
parent | f2669f5d16ddafa2e92c785aeae2fb3899238d27 (diff) | |
download | newlib-ac5e8cb29c19dcd286d78ad5cfa84dd6bcbf63d1.zip newlib-ac5e8cb29c19dcd286d78ad5cfa84dd6bcbf63d1.tar.gz newlib-ac5e8cb29c19dcd286d78ad5cfa84dd6bcbf63d1.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 'include/ChangeLog')
-rw-r--r-- | include/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index b88ca78..b7607af 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-09 Alan Modra <amodra@bigpond.net.au> * xtensa-isa-internal.h (xtensa_isa_module_struct): Remove const on |