aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-frv.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-16 02:38:53 +0000
committerAlan Modra <amodra@gmail.com>2005-02-16 02:38:53 +0000
commit5ff625e9757a8839b58ee06e09844dc97b6c23d4 (patch)
tree9caf2c89a36106a50b903fd447d7cb1e94ad75da /bfd/elf32-frv.c
parent92b7a70fca9da1403097b63f62afb5f4e634b6a8 (diff)
downloadgdb-5ff625e9757a8839b58ee06e09844dc97b6c23d4.zip
gdb-5ff625e9757a8839b58ee06e09844dc97b6c23d4.tar.gz
gdb-5ff625e9757a8839b58ee06e09844dc97b6c23d4.tar.bz2
* coff-arm.c (coff_arm_is_local_label_name): Warning fix.
* elf32-frv.c (frvfdpic_relocs_info_hash): Likewise. * pef.c (bfd_pef_scan): Don't ignore return value of bfd_pef_scan_start_address.
Diffstat (limited to 'bfd/elf32-frv.c')
-rw-r--r--bfd/elf32-frv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c
index 009507a..15f469e 100644
--- a/bfd/elf32-frv.c
+++ b/bfd/elf32-frv.c
@@ -1144,8 +1144,8 @@ frvfdpic_relocs_info_hash (const void *entry_)
const struct frvfdpic_relocs_info *entry = entry_;
return (entry->symndx == -1
- ? (long)entry->d.h->root.root.hash
- : entry->symndx + entry->d.abfd->id * 257) + entry->addend;
+ ? (long) entry->d.h->root.root.hash
+ : entry->symndx + (long) entry->d.abfd->id * 257) + entry->addend;
}
/* Test whether the key fields of two frvfdpic_relocs_info entries are