projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add c-format tags to translatable strings with more than one argument-using formattin...
[deliverable/binutils-gdb.git]
/
bfd
/
cache.c
diff --git
a/bfd/cache.c
b/bfd/cache.c
index 17bf7ea9d595328376be7fc15deea7eea0f5feab..b76044a267b369146647c7dacf221673d325bcd0 100644
(file)
--- a/
bfd/cache.c
+++ b/
bfd/cache.c
@@
-241,7
+241,8
@@
bfd_cache_lookup_worker (bfd *abfd, enum cache_flag flag)
if ((abfd->flags & BFD_IN_MEMORY) != 0)
abort ();
if ((abfd->flags & BFD_IN_MEMORY) != 0)
abort ();
- while (abfd->my_archive)
+ while (abfd->my_archive != NULL
+ && !bfd_is_thin_archive (abfd->my_archive))
abfd = abfd->my_archive;
if (abfd->iostream != NULL)
abfd = abfd->my_archive;
if (abfd->iostream != NULL)
@@
-267,8
+268,9
@@
bfd_cache_lookup_worker (bfd *abfd, enum cache_flag flag)
else
return (FILE *) abfd->iostream;
else
return (FILE *) abfd->iostream;
- (*_bfd_error_handler) (_("reopening %B: %s\n"),
- orig_bfd, bfd_errmsg (bfd_get_error ()));
+ /* xgettext:c-format */
+ _bfd_error_handler (_("reopening %B: %s\n"),
+ orig_bfd, bfd_errmsg (bfd_get_error ()));
return NULL;
}
return NULL;
}
@@
-466,7
+468,8
@@
cache_bmmap (struct bfd *abfd ATTRIBUTE_UNUSED,
pagesize_m1 = getpagesize () - 1;
/* Handle archive members. */
pagesize_m1 = getpagesize () - 1;
/* Handle archive members. */
- if (abfd->my_archive != NULL)
+ if (abfd->my_archive != NULL
+ && !bfd_is_thin_archive (abfd->my_archive))
offset += abfd->origin;
/* Align. */
offset += abfd->origin;
/* Align. */
@@
-566,7
+569,7
@@
RETURNS
*/
bfd_boolean
*/
bfd_boolean
-bfd_cache_close_all ()
+bfd_cache_close_all (
void
)
{
bfd_boolean ret = TRUE;
{
bfd_boolean ret = TRUE;
This page took
0.024105 seconds
and
4
git commands to generate.