diff options
author | Nick Clifton <nickc@redhat.com> | 2018-12-11 12:01:15 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-12-11 12:01:15 +0000 |
commit | 69799d67e8872dcd3feee81ed2ff0fc47beb52d7 (patch) | |
tree | a6c32ecda1ae888a0d46ab28fcb1f59079a06b13 /include | |
parent | 99e1a184a791d30c09a86d6eca4528dc146c2c79 (diff) | |
download | fsf-binutils-gdb-69799d67e8872dcd3feee81ed2ff0fc47beb52d7.zip fsf-binutils-gdb-69799d67e8872dcd3feee81ed2ff0fc47beb52d7.tar.gz fsf-binutils-gdb-69799d67e8872dcd3feee81ed2ff0fc47beb52d7.tar.bz2 |
Fix a failure in the libiberty testsuite by increasing the recursion limit to 2048.
PR 88409
include * demangle.h (DEMANGLE_RECURSION_LIMIT): Increase to 2048.
binutils* NEWS: Note that recursion limit has increased to 2048.
* doc/binutils.texi: Likewise.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/demangle.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 7cae698..6ac2dd1 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2018-12-11 Nick Clifton <nickc@redhat.com> + + PR 88409 + * demangle.h (DEMANGLE_RECURSION_LIMIT): Increase to 2048. + 2018-12-07 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_link_info): Add has_map_file. diff --git a/include/demangle.h b/include/demangle.h index 1e67fe2..fadf708 100644 --- a/include/demangle.h +++ b/include/demangle.h @@ -77,7 +77,7 @@ extern "C" { /* If DMGL_NO_RECURSE_LIMIT is not enabled, then this is the value used as the maximum depth of recursion allowed. It should be enough for any real-world mangled name. */ -#define DEMANGLE_RECURSION_LIMIT 1024 +#define DEMANGLE_RECURSION_LIMIT 2048 /* Enumeration of possible demangling styles. |