libiberty/ChangeLog:
authorJim Blandy <jimb@codesourcery.com>
Thu, 15 May 2003 19:08:25 +0000 (19:08 +0000)
committerJim Blandy <jimb@codesourcery.com>
Thu, 15 May 2003 19:08:25 +0000 (19:08 +0000)
commite4f79046293deef6d3ce06dde44c488309efab4a
treee80f5437354bd4298faeb38de236531d683013d2
parentcc8c88f3a72b13a50df0330e7720612931102e95
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.
include/ChangeLog
include/libiberty.h
libiberty/ChangeLog
libiberty/functions.texi
libiberty/hex.c