diff options
author | Alan Modra <amodra@bigpond.net.au> | 2000-04-13 01:08:05 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2000-04-13 01:08:05 +0000 |
commit | 848d0acd1507301623360971df675a1078436e58 (patch) | |
tree | 11d719965d03fc64234e607c3ebcab9974adb1f4 /bfd/elf32-fr30.c | |
parent | afa42a4e762345ed5ad99a489d799164d25e0367 (diff) | |
download | gdb-848d0acd1507301623360971df675a1078436e58.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-fr30.c b/bfd/elf32-fr30.c index 6b295d3e52a..b150ec95642 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); |