diff options
Diffstat (limited to 'binutils/nm.c')
-rw-r--r-- | binutils/nm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/nm.c b/binutils/nm.c index d2d38c4..bac7d38 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -602,6 +602,9 @@ display_file (char *filename) bfd *file; char **matching; + if (get_file_size (filename) < 1) + return FALSE; + file = bfd_openr (filename, target); if (file == NULL) { |