This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src/include ChangeLog libiberty.h
- From: jimb at sources dot redhat dot com
- To: binutils-cvs at sources dot redhat dot com
- Date: 15 May 2003 19:08:25 -0000
- Subject: src/include ChangeLog libiberty.h
CVSROOT: /cvs/src
Module name: src
Changes by: jimb@sourceware.org 2003-05-15 19:08:25
Modified files:
include : ChangeLog libiberty.h
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/include/ChangeLog.diff?cvsroot=src&r1=1.211&r2=1.212
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/include/libiberty.h.diff?cvsroot=src&r1=1.23&r2=1.24