Commit Graph

5 Commits

Author SHA1 Message Date
DJ Delorie
70ecf948d9 merge from gcc 2003-06-22 16:35:53 +00:00
Jim Blandy
e4f7904629 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.
2003-05-15 19:08:25 +00:00
DJ Delorie
7dd4d42a60 merge from gcc 2002-03-28 04:06:38 +00:00
DJ Delorie
d311a83ab4 merge from gcc 2001-10-23 15:32:45 +00:00
Richard Henderson
252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00