]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Bump MAX_SYMBOL_IMPLS
authorTom Tromey <tromey@adacore.com>
Mon, 19 Dec 2022 19:20:01 +0000 (12:20 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 12 May 2023 19:25:28 +0000 (13:25 -0600)
A subsequent patch will introduce more aclass registrations, causing
the number to go over the current maximum.  This bumps the number.
Note that there's a separate static assert that ensures that this
number doesn't get too large for the field size in the symbol.

gdb/symtab.c

index 2a15a61d0f231b755b9c2024c3b2ae7716806379..8ace6ae6c7e79a07be1771f54e2013fe9545653e 100644 (file)
@@ -6351,7 +6351,7 @@ static int next_aclass_value = LOC_FINAL_VALUE;
 
 /* The maximum number of "aclass" registrations we support.  This is
    constant for convenience.  */
-#define MAX_SYMBOL_IMPLS (LOC_FINAL_VALUE + 10)
+#define MAX_SYMBOL_IMPLS (LOC_FINAL_VALUE + 11)
 
 /* The objects representing the various "aclass" values.  The elements
    from 0 up to LOC_FINAL_VALUE-1 represent themselves, and subsequent