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.
This commit is contained in:
parent
b22a7c6ab6
commit
1910070b29
21
ChangeLog
21
ChangeLog
@ -1,3 +1,24 @@
|
||||
2019-01-10 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2019-01-03 Дилян Палаузов <dilyan.palauzov@aegee.org>
|
||||
|
||||
* configure.ac: Don't configure readline if --with-system-readline is
|
||||
|
@ -1,3 +1,11 @@
|
||||
2019-01-10 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* 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-09 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
Merge from GCC:
|
||||
@ -14,7 +22,6 @@
|
||||
(RX_Operand_Type): Add double FPU registers.
|
||||
(RX_Opcode_ID): Add new instuctions.
|
||||
|
||||
|
||||
2019-01-01 Alan Modra <amodra@gmail.com>
|
||||
|
||||
Update year range in copyright notice of all files.
|
||||
|
@ -53,20 +53,13 @@ extern "C" {
|
||||
*/
|
||||
|
||||
#define DMGL_AUTO (1 << 8)
|
||||
#define DMGL_GNU (1 << 9)
|
||||
#define DMGL_LUCID (1 << 10)
|
||||
#define DMGL_ARM (1 << 11)
|
||||
#define DMGL_HP (1 << 12) /* For the HP aCC compiler;
|
||||
same as ARM except for
|
||||
template arguments, etc. */
|
||||
#define DMGL_EDG (1 << 13)
|
||||
#define DMGL_GNU_V3 (1 << 14)
|
||||
#define DMGL_GNAT (1 << 15)
|
||||
#define DMGL_DLANG (1 << 16)
|
||||
#define DMGL_RUST (1 << 17) /* Rust wraps GNU_V3 style mangling. */
|
||||
|
||||
/* If none of these are set, use 'current_demangling_style' as the default. */
|
||||
#define DMGL_STYLE_MASK (DMGL_AUTO|DMGL_GNU|DMGL_LUCID|DMGL_ARM|DMGL_HP|DMGL_EDG|DMGL_GNU_V3|DMGL_JAVA|DMGL_GNAT|DMGL_DLANG|DMGL_RUST)
|
||||
#define DMGL_STYLE_MASK (DMGL_AUTO|DMGL_GNU_V3|DMGL_JAVA|DMGL_GNAT|DMGL_DLANG|DMGL_RUST)
|
||||
|
||||
/* Disable a limit on the depth of recursion in mangled strings.
|
||||
Note if this limit is disabled then stack exhaustion is possible when
|
||||
@ -92,11 +85,6 @@ extern enum demangling_styles
|
||||
no_demangling = -1,
|
||||
unknown_demangling = 0,
|
||||
auto_demangling = DMGL_AUTO,
|
||||
gnu_demangling = DMGL_GNU,
|
||||
lucid_demangling = DMGL_LUCID,
|
||||
arm_demangling = DMGL_ARM,
|
||||
hp_demangling = DMGL_HP,
|
||||
edg_demangling = DMGL_EDG,
|
||||
gnu_v3_demangling = DMGL_GNU_V3,
|
||||
java_demangling = DMGL_JAVA,
|
||||
gnat_demangling = DMGL_GNAT,
|
||||
@ -108,11 +96,6 @@ extern enum demangling_styles
|
||||
|
||||
#define NO_DEMANGLING_STYLE_STRING "none"
|
||||
#define AUTO_DEMANGLING_STYLE_STRING "auto"
|
||||
#define GNU_DEMANGLING_STYLE_STRING "gnu"
|
||||
#define LUCID_DEMANGLING_STYLE_STRING "lucid"
|
||||
#define ARM_DEMANGLING_STYLE_STRING "arm"
|
||||
#define HP_DEMANGLING_STYLE_STRING "hp"
|
||||
#define EDG_DEMANGLING_STYLE_STRING "edg"
|
||||
#define GNU_V3_DEMANGLING_STYLE_STRING "gnu-v3"
|
||||
#define JAVA_DEMANGLING_STYLE_STRING "java"
|
||||
#define GNAT_DEMANGLING_STYLE_STRING "gnat"
|
||||
@ -123,11 +106,6 @@ extern enum demangling_styles
|
||||
|
||||
#define CURRENT_DEMANGLING_STYLE current_demangling_style
|
||||
#define AUTO_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_AUTO)
|
||||
#define GNU_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNU)
|
||||
#define LUCID_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_LUCID)
|
||||
#define ARM_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_ARM)
|
||||
#define HP_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_HP)
|
||||
#define EDG_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_EDG)
|
||||
#define GNU_V3_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNU_V3)
|
||||
#define JAVA_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_JAVA)
|
||||
#define GNAT_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNAT)
|
||||
@ -147,17 +125,8 @@ extern const struct demangler_engine
|
||||
extern char *
|
||||
cplus_demangle (const char *mangled, int options);
|
||||
|
||||
extern int
|
||||
cplus_demangle_opname (const char *opname, char *result, int options);
|
||||
|
||||
extern const char *
|
||||
cplus_mangle_opname (const char *opname, int options);
|
||||
|
||||
/* Note: This sets global state. FIXME if you care about multi-threading. */
|
||||
|
||||
extern void
|
||||
set_cplus_marker_for_demangling (int ch);
|
||||
|
||||
extern enum demangling_styles
|
||||
cplus_demangle_set_style (enum demangling_styles style);
|
||||
|
||||
|
@ -1,11 +1,16 @@
|
||||
2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
|
||||
2019-01-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
Merge from GCC:
|
||||
PR other/16615
|
||||
Update copyright years.
|
||||
|
||||
* 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.
|
||||
|
||||
2018-12-07 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
@ -72,28 +77,18 @@
|
||||
|
||||
* cplus-dem.c (remember_Btype): Don't call memcpy with LEN==0.
|
||||
|
||||
2018-08-01 Richard Earnshaw <rearnsha@arm.com>
|
||||
2018-07-26 Martin Liska <mliska@suse.cz>
|
||||
|
||||
Copy over from GCC
|
||||
2018-07-26 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR lto/86548
|
||||
PR lto/86548
|
||||
* make-temp-file.c (TEMP_FILE): Remove leading 'cc'.
|
||||
(make_temp_file): Call make_temp_file_with_prefix with
|
||||
first argument set to NULL.
|
||||
first argument set to NULL.
|
||||
(make_temp_file_with_prefix): Support also prefix.
|
||||
|
||||
2018-07-18 Eli Zaretskii <eliz@gnu.org>
|
||||
2018-07-19 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
PR gdb/23434
|
||||
* libiberty/simple-object-elf.c (ENOTSUP): If not defined by
|
||||
errno.h, redirect ENOTSUP to ENOSYS.
|
||||
|
||||
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
|
||||
|
||||
* configure.ac: Remove AC_PREREQ.
|
||||
* configure: Re-generate.
|
||||
* config.in: Re-generate.
|
||||
* simple-object-elf.c (ENOTSUP): If not defined by errno.h, redirect
|
||||
to ENOSYS.
|
||||
|
||||
2018-05-30 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
@ -996,8 +991,8 @@
|
||||
* functions.texi: Regenerate.
|
||||
|
||||
2014-12-11 Uros Bizjak <ubizjak@gmail.com>
|
||||
Ben Elliston <bje@au.ibm.com>
|
||||
Manuel Lopez-Ibanez <manu@gcc.gnu.org>
|
||||
Ben Elliston <bje@au.ibm.com>
|
||||
Manuel Lopez-Ibanez <manu@gcc.gnu.org>
|
||||
|
||||
* xvasprintf.c: New file.
|
||||
* vprintf-support.h: Likewise.
|
||||
|
@ -6201,13 +6201,13 @@ cplus_demangle_init_info (const char *mangled, int options, size_t len,
|
||||
|
||||
di->n = mangled;
|
||||
|
||||
/* We cannot need more components than twice the number of chars in
|
||||
/* We can not need more components than twice the number of chars in
|
||||
the mangled string. Most components correspond directly to
|
||||
chars, but the ARGLIST types are exceptions. */
|
||||
di->num_comps = 2 * len;
|
||||
di->next_comp = 0;
|
||||
|
||||
/* Similarly, we cannot need more substitutions than there are
|
||||
/* Similarly, we can not need more substitutions than there are
|
||||
chars in the mangled string. */
|
||||
di->num_subs = len;
|
||||
di->next_sub = 0;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -489,7 +489,7 @@ floatformat_to_double (const struct floatformat *fmt,
|
||||
int nan = mant_bits_set (fmt, ufrom);
|
||||
|
||||
/* On certain systems (such as GNU/Linux), the use of the
|
||||
INFINITY macro below may generate a warning that cannot be
|
||||
INFINITY macro below may generate a warning that can not be
|
||||
silenced due to a bug in GCC (PR preprocessor/11931). The
|
||||
preprocessor fails to recognise the __extension__ keyword in
|
||||
conjunction with the GNU/C99 extension for hexadecimal
|
||||
|
@ -299,7 +299,7 @@ static const struct error_info error_table[] =
|
||||
ENTRY(EREMCHG, "EREMCHG", "Remote address changed"),
|
||||
#endif
|
||||
#if defined (ELIBACC)
|
||||
ENTRY(ELIBACC, "ELIBACC", "Cannot access a needed shared library"),
|
||||
ENTRY(ELIBACC, "ELIBACC", "Can not access a needed shared library"),
|
||||
#endif
|
||||
#if defined (ELIBBAD)
|
||||
ENTRY(ELIBBAD, "ELIBBAD", "Accessing a corrupted shared library"),
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user