mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 09:09:16 +08:00
* elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts to
eliminate warnings.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2006-04-05 Bernd Schmidt <bernd.schmidt@analog.com>
|
||||||
|
|
||||||
|
* elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts to
|
||||||
|
eliminate warnings.
|
||||||
|
|
||||||
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
|
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
James E Wilson <wilson@specifixinc.com>
|
James E Wilson <wilson@specifixinc.com>
|
||||||
|
|
||||||
|
@ -1284,8 +1284,8 @@ bfinfdpic_relocs_info_hash (const void *entry_)
|
|||||||
const struct bfinfdpic_relocs_info *entry = entry_;
|
const struct bfinfdpic_relocs_info *entry = entry_;
|
||||||
|
|
||||||
return (entry->symndx == -1
|
return (entry->symndx == -1
|
||||||
? entry->d.h->root.root.hash
|
? (long) entry->d.h->root.root.hash
|
||||||
: entry->symndx + entry->d.abfd->id * 257) + entry->addend;
|
: entry->symndx + (long) entry->d.abfd->id * 257) + entry->addend;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Test whether the key fields of two bfinfdpic_relocs_info entries are
|
/* Test whether the key fields of two bfinfdpic_relocs_info entries are
|
||||||
|
Reference in New Issue
Block a user