diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-08-11 09:32:44 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-08-11 09:40:39 -0700 |
commit | 98c5dfc99444094652c2f2259126f70e5cacf56f (patch) | |
tree | 3180d512a829d0ad25a97ddb321bda3101c373ec /gdb/testsuite/gdb.rust/methods.rs | |
parent | 93ab9c0de7ba4a477720622c7e772d76f646e3f5 (diff) | |
download | gdb-98c5dfc99444094652c2f2259126f70e5cacf56f.zip gdb-98c5dfc99444094652c2f2259126f70e5cacf56f.tar.gz gdb-98c5dfc99444094652c2f2259126f70e5cacf56f.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.rust/methods.rs')
0 files changed, 0 insertions, 0 deletions