mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-04 10:24:13 +00:00
2011-09-09 Kai Tietz <ktietz@redhat.com>
* peicode.h (pe_ILF_build_a_bfd): Don't remove leading underscore for targets without symbol_leading_char.
This commit is contained in:
parent
a301ba0b9a
commit
e777132256
@ -1,3 +1,8 @@
|
||||
2011-09-09 Kai Tietz <ktietz@redhat.com>
|
||||
|
||||
* peicode.h (pe_ILF_build_a_bfd): Don't remove leading underscore
|
||||
for targets without symbol_leading_char.
|
||||
|
||||
2011-09-08 Bernd Jendrissek <bernd.jendrissek@gmail.com>
|
||||
|
||||
* bfdwin.c (bfd_get_file_window): Fix memory leak.
|
||||
|
@ -884,7 +884,11 @@ pe_ILF_build_a_bfd (bfd * abfd,
|
||||
if (import_name_type != IMPORT_NAME)
|
||||
{
|
||||
char c = symbol[0];
|
||||
if (c == '_' || c == '@' || c == '?')
|
||||
|
||||
/* Check that we don't remove for targets with empty
|
||||
USER_LABEL_PREFIX the leading underscore. */
|
||||
if ((c == '_' && abfd->xvec->symbol_leading_char != 0)
|
||||
|| c == '@' || c == '?')
|
||||
symbol++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user