commit | 98c5dfc99444094652c2f2259126f70e5cacf56f | [log] [tgz] |
---|---|---|
author | H.J. Lu <hjl.tools@gmail.com> | Fri Aug 11 09:32:44 2017 -0700 |
committer | H.J. Lu <hjl.tools@gmail.com> | Fri Aug 11 09:40:39 2017 -0700 |
tree | 3180d512a829d0ad25a97ddb321bda3101c373ec | |
parent | 93ab9c0de7ba4a477720622c7e772d76f646e3f5 [diff] |
x86: Allocate space for symbol names with symbol table When synthesizing symbols for PLT entries, allocate space for symbol names with @plt suffixes together with symbol table so that all memory is returned when symbol table is freed. PR binutils/21943 * elf32-i386.c (elf_i386_get_synthetic_symtab): Allocate space for @plt suffixes first. * elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.