daily update
[deliverable/binutils-gdb.git] / bfd / coff-x86_64.c
index 8083d978dd98d1550a46375787c3ea7e92d0acd9..c739d69c7307373cc3223106ba8dcc6239f0e27e 100644 (file)
@@ -546,7 +546,7 @@ coff_amd64_rtype_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
 {
   reloc_howto_type *howto;
 
-  if (rel->r_type > ARRAY_SIZE (howto_table))
+  if (rel->r_type >= ARRAY_SIZE (howto_table))
     {
       bfd_set_error (bfd_error_bad_value);
       return NULL;
This page took 0.024771 seconds and 4 git commands to generate.