projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
breakpoints/19546: Fix crash after updating breakpoints
[deliverable/binutils-gdb.git]
/
binutils
/
size.c
diff --git
a/binutils/size.c
b/binutils/size.c
index e727165f019ae0fa692b7a50ec337889cfed6c5a..ddb3bf480d0cd10eaa0258328cfd7635896fbd57 100644
(file)
--- a/
binutils/size.c
+++ b/
binutils/size.c
@@
-1,5
+1,5
@@
/* size.c -- report size of various sections of an executable file.
/* size.c -- report size of various sections of an executable file.
- Copyright (C) 1991-201
4
Free Software Foundation, Inc.
+ Copyright (C) 1991-201
6
Free Software Foundation, Inc.
This file is part of GNU Binutils.
This file is part of GNU Binutils.
@@
-133,6
+133,7
@@
main (int argc, char **argv)
program_name = *argv;
xmalloc_set_program_name (program_name);
program_name = *argv;
xmalloc_set_program_name (program_name);
+ bfd_set_error_program_name (program_name);
expandargv (&argc, &argv);
expandargv (&argc, &argv);
@@
-365,7
+366,14
@@
display_archive (bfd *file)
display_bfd (arfile);
if (last_arfile != NULL)
display_bfd (arfile);
if (last_arfile != NULL)
- bfd_close (last_arfile);
+ {
+ bfd_close (last_arfile);
+
+ /* PR 17512: file: a244edbc. */
+ if (last_arfile == arfile)
+ return;
+ }
+
last_arfile = arfile;
}
last_arfile = arfile;
}
This page took
0.023349 seconds
and
4
git commands to generate.