src/libiberty ChangeLog functions.texi hex.c

jimb@sources.redhat.com jimb@sources.redhat.com
Thu May 15 19:08:00 GMT 2003


CVSROOT:	/cvs/src
Module name:	src
Changes by:	jimb@sourceware.org	2003-05-15 19:08:25

Modified files:
	libiberty      : ChangeLog functions.texi hex.c 

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/libiberty/ChangeLog.diff?cvsroot=src&r1=1.223&r2=1.224
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/functions.texi.diff?cvsroot=src&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/hex.c.diff?cvsroot=src&r1=1.3&r2=1.4



More information about the Src-cvs mailing list