Commit Graph

16 Commits

Author SHA1 Message Date
Alan Modra 07ffcfecac Merge libiberty from gcc 2019-04-07 20:49:49 +09:30
Nick Clifton 1910070b29 Sync libiberty sources with gcc master versions.
.	* libiberty: Sync with gcc.  Bring in:
	2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>

	PR other/16615

	* cp-demangle.c: Mechanically replace "can not" with "cannot".
	* floatformat.c: Likewise.
	* strerror.c: Likewise.

	2018-12-22  Jason Merrill  <jason@redhat.com>

	Remove support for demangling GCC 2.x era mangling schemes.
	* cplus-dem.c: Remove cplus_mangle_opname, cplus_demangle_opname,
	internal_cplus_demangle, and all subroutines.
	(libiberty_demanglers): Remove entries for ancient GNU (pre-3.0),
	Lucid, ARM, HP, and EDG demangling styles.
	(cplus_demangle): Remove 'work' variable.  Don't call
	internal_cplus_demangle.

include	* Merge from GCC:
	2018-12-22  Jason Merrill  <jason@redhat.com>

	* demangle.h: Remove support for ancient GNU (pre-3.0), Lucid,
	ARM, HP, and EDG demangling styles.
2019-01-10 09:44:13 +00:00
Sandra Loosemore a08da33eb3 Merge from gcc: use "cannot" instead of "can not" in libiberty and include.
2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>

	Merge from GCC:

	2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>

	PR other/16615 [2/5]

	include/
	* libiberty.h: Mechanically replace "can not" with "cannot".
	* plugin-api.h: Likewise.

	libiberty/
	* cp-demangle.c: Mechanically replace "can not" with "cannot".
	* floatformat.c: Likewise.
	* strerror.c: Likewise.
2019-01-09 13:59:16 -08:00
Joel Brobecker 1f99f6d068 strerror.c: Do not declare sys_nerr or sys_errlist if already macros
This fixes a MinGW warning in libiberty/strerror.c.

2015-01-19  Eli Zaretskii  <eliz@gnu.org>

        * strerror.c <sys_nerr, sys_errlist>: Declare only if they aren't
        macros.
2015-01-19 16:29:07 +01:00
DJ Delorie 49b1fae430 merge from gcc 2005-03-28 02:09:01 +00:00
DJ Delorie 53239e4104 merge from gcc 2004-04-14 03:12:51 +00:00
Daniel Jacobowitz e3b1168e9d * strerror.c: Revert last change. Declare static sys_nerr
and sys_errlist using different names.
2003-10-02 19:07:17 +00:00
Daniel Jacobowitz efb150d5d8 * strerror.c: Don't provide or reference sys_errlist if
strerror is available.
2003-10-01 23:11:45 +00:00
DJ Delorie ba19b94f67 merge from gcc 2001-10-16 02:55:31 +00:00
DJ Delorie 99b5813985 merge from gcc 2001-10-07 22:42:23 +00:00
DJ Delorie e6450fe561 merge from gcc 2001-10-07 17:24:36 +00:00
DJ Delorie fa9f0e33b3 merge from gcc 2001-09-27 20:27:58 +00:00
DJ Delorie 3942352316 merge from gcc 2001-09-26 18:45:50 +00:00
DJ Delorie 11f6f21d46 merge from gcc 2001-06-12 13:16:43 +00:00
Zack Weinberg 5c82d20a26 * hashtab.c, partition.c, xmemdup.c: Include string.h
if HAVE_STRING_H.
	* pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
	* objalloc.c: Include config.h.  Include stdlib.h and don't
	declare malloc or free if HAVE_STDLIB_H.
	* strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
	else declare malloc without prototype.  Include string.h if
	HAVE_STRING_H, else declare memset without prototype.  Don't
	include stddef.h.

	* sort.c: Bring over from GCC.
2000-05-29 20:45:32 +00:00
Richard Henderson 252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00