mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-27 12:01:50 +00:00
2014-12-05 Steve Ellcey <sellcey@mips.com>
* ecoff.c (_bfd_ecoff_slurp_symbol_table): Add cast.
This commit is contained in:
parent
6c1c7be347
commit
238309aab1
@ -1,3 +1,7 @@
|
||||
2014-12-05 Steve Ellcey <sellcey@mips.com>
|
||||
|
||||
* ecoff.c (_bfd_ecoff_slurp_symbol_table): Add cast.
|
||||
|
||||
2014-12-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elf64-x86-64.c (bfd_elf32_get_synthetic_symtab): New.
|
||||
|
@ -952,7 +952,7 @@ _bfd_ecoff_slurp_symbol_table (bfd *abfd)
|
||||
and ecoff_data (abfd)->debug_info.symbolic_header.ifdMax can mean that
|
||||
we have fewer symbols than we were expecting. Allow for this by updating
|
||||
the symbol count and warning the user. */
|
||||
if (internal_ptr - internal < bfd_get_symcount (abfd))
|
||||
if (internal_ptr - internal < (ptrdiff_t) bfd_get_symcount (abfd))
|
||||
{
|
||||
bfd_get_symcount (abfd) = internal_ptr - internal;
|
||||
(*_bfd_error_handler)
|
||||
|
Loading…
x
Reference in New Issue
Block a user