aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-alpha.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-09-21 14:25:09 +0000
committerNick Clifton <nickc@redhat.com>2001-09-21 14:25:09 +0000
commit1e738b87c87fe468ba6dd11f8e94e937d0ee665f (patch)
tree3b3e27dbacad4771a4eaae2c0a2b191c322a0670 /bfd/elf64-alpha.c
parent2ca0d95257f38e932db032b87e17a4b538e47d49 (diff)
downloadgdb-1e738b87c87fe468ba6dd11f8e94e937d0ee665f.zip
gdb-1e738b87c87fe468ba6dd11f8e94e937d0ee665f.tar.gz
gdb-1e738b87c87fe468ba6dd11f8e94e937d0ee665f.tar.bz2
Fix compile time warnings
Diffstat (limited to 'bfd/elf64-alpha.c')
-rw-r--r--bfd/elf64-alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index 4642bac..7d9206e 100644
--- a/bfd/elf64-alpha.c
+++ b/bfd/elf64-alpha.c
@@ -1020,7 +1020,7 @@ elf64_alpha_relax_with_lituse (info, symval, irel, irelend)
{
if (ELF64_R_TYPE (urel->r_info) != R_ALPHA_LITUSE)
break;
- if (urel->r_addend >= 0 && urel->r_addend <= 3)
+ if (urel->r_addend <= 3)
flags |= 1 << urel->r_addend;
}