Commit Graph

30 Commits

Author SHA1 Message Date
DJ Delorie
79fadcb076 merge from gcc 2004-09-14 01:16:22 +00:00
DJ Delorie
a5ecc6a5f5 merge from gcc 2004-09-05 06:04:05 +00:00
DJ Delorie
deaa6723d2 merge from gcc 2004-08-06 15:38:11 +00:00
DJ Delorie
d5b4094f38 merge from gcc 2004-07-24 18:04:39 +00:00
DJ Delorie
7ab9a76eac merge from gcc 2004-07-13 21:10:23 +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
638ceb1a84 merge from gcc 2003-02-27 21:01:04 +00:00
DJ Delorie
4938384a1f merge from gcc 2003-02-21 01:35:29 +00:00
Daniel Jacobowitz
e2803db937 * libiberty.h (lrealpath): Add declaration. 2003-02-20 22:13:09 +00:00
Jason Thorpe
40fb7a1f93 * libiberty.h (basename): Add NetBSD to the list. 2002-11-24 06:58:20 +00:00
DJ Delorie
2a80c0a458 merge from gcc 2002-11-22 21:02:14 +00:00
Alexandre Oliva
bb7eb0390b * 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
931f285fb1 merge from gcc 2002-06-24 17:39:28 +00:00
DJ Delorie
1d619e590d merge from gcc 2002-01-28 22:03:14 +00:00
DJ Delorie
d311a83ab4 merge from gcc 2001-10-23 15:32:45 +00:00
DJ Delorie
e6450fe561 merge from gcc 2001-10-07 17:24:36 +00:00
DJ Delorie
99ee3a8f13 merge from gcc 2001-09-24 23:37:52 +00:00
DJ Delorie
38bfaea8f2 merge from gcc 2001-09-18 21:02:02 +00:00
DJ Delorie
54c2024269 merge from gcc 2001-09-17 23:11:04 +00:00
Andrew Cagney
3ea71002e4 (lbasename): Change function declaration to return a const char pointer. 2001-08-10 23:46:17 +00:00
DJ Delorie
129e8d96a5 merge from gcc 2001-03-31 19:05:20 +00:00
Nick Clifton
526c3e1208 Synchronise with copyright dates on FSF GCC versions of these files 2001-03-14 19:45:29 +00:00
Nick Clifton
4f1d9bd8e2 Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
DJ Delorie
8aa30e60ce merge from gcc 2001-03-10 22:23:50 +00:00
DJ Delorie
30673bf511 merge from gcc 2001-03-06 18:27:14 +00:00
DJ Delorie
b13291a979 * libiberty.h: Move #includes to top. Prototype xmalloc_failed. 2000-11-29 20:14:48 +00:00
Nick Clifton
b18903cb91 Add ARRAY_SIZE macro from egcs version 2000-09-03 17:35:07 +00:00
H.J. Lu
79c6de76fd 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
cc89ffe60b import libiberty from egcs 2000-02-22 16:18:13 +00:00
Richard Henderson
252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00