From: Tom Tromey Date: Mon, 19 Dec 2022 19:20:01 +0000 (-0700) Subject: Bump MAX_SYMBOL_IMPLS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=658d5e0c6184a4f07f40c6d4d1aacfdeafd44d6a;p=binutils-gdb.git Bump MAX_SYMBOL_IMPLS 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. --- diff --git a/gdb/symtab.c b/gdb/symtab.c index 2a15a61d0f2..8ace6ae6c7e 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -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