aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-fr30.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-04-13 01:08:05 +0000
committerAlan Modra <amodra@gmail.com>2000-04-13 01:08:05 +0000
commitfc633e5b9780011f74f2c23837968e43e262a239 (patch)
tree5ccc69c4b1e69941727cee9ebe0a9a7fcd31de32 /bfd/elf32-fr30.c
parent3db10f32e0e0cbf960edcdf6ed42ccb3bc7c4952 (diff)
downloadgdb-fc633e5b9780011f74f2c23837968e43e262a239.zip
gdb-fc633e5b9780011f74f2c23837968e43e262a239.tar.gz
gdb-fc633e5b9780011f74f2c23837968e43e262a239.tar.bz2
Remove U suffix from constants for K&R compilers.
Fix a couple of 64 bit nits.
Diffstat (limited to 'bfd/elf32-fr30.c')
-rw-r--r--bfd/elf32-fr30.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-fr30.c b/bfd/elf32-fr30.c
index 6b295d3..b150ec9 100644
--- a/bfd/elf32-fr30.c
+++ b/bfd/elf32-fr30.c
@@ -1,5 +1,5 @@
/* FR30-specific support for 32-bit ELF.
- Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -275,7 +275,7 @@ fr30_elf_i20_reloc (abfd, reloc_entry, symbol, data,
+ symbol->section->output_offset
+ reloc_entry->addend;
- if (relocation > ((1U << 20) - 1))
+ if (relocation > (((bfd_vma) 1 << 20) - 1))
return bfd_reloc_overflow;
x = bfd_get_32 (abfd, data + reloc_entry->address);