Correct the calculation of offsets for ARM exidx relocs when performing a partial...
[deliverable/binutils-gdb.git] / binutils / objdump.c
index 32e6f24f7b4744cc9a8090b142396b0e1e5ca356..6812ba7853de6cbaad86dec915a6bec59729fdc1 100644 (file)
@@ -708,7 +708,11 @@ slurp_symtab (bfd *abfd)
       off_t filesize = bfd_get_file_size (abfd);
 
       /* qv PR 24707.  */
-      if (filesize > 0 && filesize < storage)
+      if (filesize > 0
+         && filesize < storage
+         /* The MMO file format supports its own special compression
+            technique, so its sections can be larger than the file size.  */
+         && bfd_get_flavour (abfd) != bfd_target_mmo_flavour)    
        {
          bfd_nonfatal_message (bfd_get_filename (abfd), abfd, NULL,
                                _("error: symbol table size (%#lx) is larger than filesize (%#lx)"),
This page took 0.024668 seconds and 4 git commands to generate.