AArch64: Revert setting of elf class in linker stub.
[deliverable/binutils-gdb.git] / bfd / pef.c
index 726b8d7493d6c69e335b955da622a915270bbdde..574d9bcb5d6361b8002e28945efc75a7cdf347a6 100644 (file)
--- a/bfd/pef.c
+++ b/bfd/pef.c
@@ -806,7 +806,7 @@ bfd_pef_parse_function_stubs (bfd *abfd,
          codepos += 4;
        }
 
-      if ((codepos + 4) > codelen)
+      if ((codepos + 24) > codelen)
        break;
 
       ret = bfd_pef_parse_function_stub (abfd, codebuf + codepos, 24, &sym_index);
This page took 0.02437 seconds and 4 git commands to generate.