gcc/include
Jim Blandy 49a19cfd34 hex.c (_hex_value): Make this unsigned.
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.

From-SVN: r66840
2003-05-15 19:02:13 +00:00
..
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 21:47:20 +00:00
ChangeLog hex.c (_hex_value): Make this unsigned. 2003-05-15 19:02:13 +00:00
ansidecl.h ansidecl.h (ATTRIBUTE_NONNULL, [...]): New. 2003-03-17 22:57:27 +00:00
demangle.h demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>. 2002-06-25 09:44:15 +09:30
dyn-string.h dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names. 2002-04-01 21:54:28 +00:00
fibheap.h demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>. 2002-06-25 09:44:15 +09:30
floatformat.h Remove floatformat_arm_ext. 2002-03-06 06:29:00 +00:00
fnmatch.h Fix copyright dates 2001-03-14 19:44:38 +00:00
getopt.h partition.h: Close the extern "C" scope when compiling with C++. 2002-10-27 01:00:34 +00:00
hashtab.h s/burtle/iterative 2003-05-07 16:30:32 -04:00
libiberty.h hex.c (_hex_value): Make this unsigned. 2003-05-15 19:02:13 +00:00
md5.h Fix copyright dates 2001-03-14 19:44:38 +00:00
objalloc.h * objalloc.h (OBJALLOC_ALIGN): Define using offsetof. 2001-09-18 23:09:40 +09:30
obstack.h Fix copyright dates 2001-03-14 19:44:38 +00:00
partition.h partition.h: Close the extern "C" scope when compiling with C++. 2002-10-27 01:00:34 +00:00
safe-ctype.h * include/safe-ctype.h (_sch_isbasic, IS_ISOBASIC): New. 2001-10-24 19:29:16 +00:00
sort.h demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>. 2002-06-25 09:44:15 +09:30
splay-tree.h Merge from pch-branch. 2003-01-10 02:22:34 +00:00
symcat.h restore comment 2000-06-01 19:16:50 -04:00
ternary.h cp-demangle.c (demangle_v3_with_details, [...]): Use K+R style function definition. 2001-05-08 06:13:58 +00:00
xregex.h xregex.h (_REGEX_RE_COMP): Define. 2001-08-02 19:23:47 -04:00
xregex2.h xregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later. 2002-04-16 17:12:54 -07:00