projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build failure on macOS
[deliverable/binutils-gdb.git]
/
bfd
/
bfdwin.c
diff --git
a/bfd/bfdwin.c
b/bfd/bfdwin.c
index 2af868aa3d16f8417b22270cfad5d449125ba53b..00b3e70a2670ecd03aeaeb8d29340c0e5a81cfd2 100644
(file)
--- a/
bfd/bfdwin.c
+++ b/
bfd/bfdwin.c
@@
-1,5
+1,5
@@
/* Support for memory-mapped windows into a BFD.
/* Support for memory-mapped windows into a BFD.
- Copyright (C) 1995-201
4
Free Software Foundation, Inc.
+ Copyright (C) 1995-201
9
Free Software Foundation, Inc.
Written by Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
Written by Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
@@
-144,7
+144,8
@@
bfd_get_file_window (bfd *abfd,
int fd;
/* Find the real file and the real offset into it. */
int fd;
/* Find the real file and the real offset into it. */
- while (abfd->my_archive != NULL)
+ while (abfd->my_archive != NULL
+ && !bfd_is_thin_archive (abfd->my_archive))
{
offset += abfd->origin;
abfd = abfd->my_archive;
{
offset += abfd->origin;
abfd = abfd->my_archive;
This page took
0.026308 seconds
and
4
git commands to generate.