Skip to content
Snippets Groups Projects
user avatar
Masahiro Yamada authored
The symbol table is extended every 10000 addition by using realloc(),
where data copy might occur to the new buffer.

To decrease the amount of possible data copy, let's change the table
to store the pointer.

The symbol type + symbol name part is appended at the end of
(struct sym_entry), and allocated together with the struct body.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
8d605269
History
Name Last commit Last update