diff options
Diffstat (limited to 'bfd/peXXigen.c')
-rw-r--r-- | bfd/peXXigen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c index 0e0056e..d0f7a96 100644 --- a/bfd/peXXigen.c +++ b/bfd/peXXigen.c @@ -461,7 +461,7 @@ _bfd_XXi_swap_aouthdr_in (bfd * abfd, { int idx; - for (idx = 0; idx < 16; idx++) + for (idx = 0; idx < a->NumberOfRvaAndSizes; idx++) { /* If data directory is empty, rva also should be 0. */ int size = |