X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Fbfdwin.c;h=51b4faca76c09027b07edf329bd40199c16c9e9a;hb=ca859a893931d6fad8b35cf2c20afd43422a59fe;hp=b9310436d993c2522c4a861708251ab83636c2ba;hpb=2571583aed598dd3f9651b53434e5f177a0e3cf7;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/bfdwin.c b/bfd/bfdwin.c index b9310436d9..51b4faca76 100644 --- a/bfd/bfdwin.c +++ b/bfd/bfdwin.c @@ -1,5 +1,5 @@ /* Support for memory-mapped windows into a BFD. - Copyright (C) 1995-2017 Free Software Foundation, Inc. + Copyright (C) 1995-2020 Free Software Foundation, Inc. Written by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -150,6 +150,7 @@ bfd_get_file_window (bfd *abfd, offset += abfd->origin; abfd = abfd->my_archive; } + offset += abfd->origin; /* Seek into the file, to ensure it is open if cacheable. */ if (abfd->iostream == NULL