From fc633e5b9780011f74f2c23837968e43e262a239 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 13 Apr 2000 01:08:05 +0000 Subject: Remove U suffix from constants for K&R compilers. Fix a couple of 64 bit nits. --- bfd/elf32-fr30.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/elf32-fr30.c') 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); -- cgit v1.2.1