Commit Graph

30 Commits

Author SHA1 Message Date
DJ Delorie 2f514b3252 merge from gcc 2004-09-14 01:16:22 +00:00
DJ Delorie c558f8950e merge from gcc 2004-09-05 06:04:05 +00:00
DJ Delorie 142ed05f57 merge from gcc 2004-08-06 15:38:11 +00:00
DJ Delorie 8c2defa46c merge from gcc 2004-07-24 18:04:39 +00:00
DJ Delorie e84b534998 merge from gcc 2004-07-13 21:10:23 +00:00
Jim Blandy ac5e8cb29c 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 7d82e7bf32 merge from gcc 2003-02-27 21:01:01 +00:00
DJ Delorie f8bcdf079f merge from gcc 2003-02-21 01:35:25 +00:00
Daniel Jacobowitz c847100a1c * libiberty.h (lrealpath): Add declaration. 2003-02-20 22:13:09 +00:00
Jason Thorpe f29c4db185 * libiberty.h (basename): Add NetBSD to the list. 2002-11-24 06:58:20 +00:00
DJ Delorie aa1ad0633b merge from gcc 2002-11-22 21:02:07 +00:00
Alexandre Oliva 0226921e1d * libiberty.h (asprintf, vasprintf): Don't declare them if the
corresponding HAVE_DECL_ macro is 1.
2002-09-20 00:21:58 +00:00
DJ Delorie caaac2d1f4 merge from gcc 2002-06-24 17:39:28 +00:00
DJ Delorie 9775e5a156 merge from gcc 2002-01-28 22:03:14 +00:00
DJ Delorie d3cf36f88d merge from gcc 2001-10-23 15:31:55 +00:00
DJ Delorie 58364ce8a1 merge from gcc 2001-10-07 17:23:43 +00:00
DJ Delorie 54e909976c merge from gcc 2001-09-24 23:37:30 +00:00
DJ Delorie 439defa230 merge from gcc 2001-09-18 21:02:02 +00:00
DJ Delorie 4a1dd97454 merge from gcc 2001-09-17 23:10:37 +00:00
Andrew Cagney 067b070964 (lbasename): Change function declaration to return a const char pointer. 2001-08-10 23:46:15 +00:00
DJ Delorie aa38a0227c merge from gcc 2001-03-31 19:05:20 +00:00
Nick Clifton ae2a41e5cb Synchronise with copyright dates on FSF GCC versions of these files 2001-03-14 19:45:29 +00:00
Nick Clifton c77e3e5481 Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
DJ Delorie 6a6a6fa2ae merge from gcc 2001-03-10 22:23:16 +00:00
DJ Delorie 25ee9ae285 merge from gcc 2001-03-06 18:26:32 +00:00
DJ Delorie 1ad02eaa81 * libiberty.h: Move #includes to top. Prototype xmalloc_failed. 2000-11-29 20:14:48 +00:00
Nick Clifton 9c136d7ea6 Add ARRAY_SIZE macro from egcs version 2000-09-03 17:35:07 +00:00
H.J. Lu 20c7469060 2000-06-17 H.J. Lu <hjl@gnu.org>
* getopt.h: Updated from gcc.
	* libiberty.h: Likewise.
	* symcat.h: Likewise.
2000-06-17 23:08:19 +00:00
Ian Lance Taylor 929ce68fe6 import libiberty from egcs 2000-02-22 16:18:13 +00:00
Richard Henderson a3acbf4694 19990502 sourceware import 1999-05-03 07:29:06 +00:00