]> Git Repo - binutils.git/blobdiff - bfd/elf32-s390.c
* elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Warn on
[binutils.git] / bfd / elf32-s390.c
index 713ad66acde0613258c134bd05df570b69f75857..9001a51cde87774923874a5af0038d74cf360923 100644 (file)
@@ -1683,6 +1683,13 @@ elf_s390_adjust_dynamic_symbol (info, h)
        }
     }
 
+  if (h->size == 0)
+    {
+      (*_bfd_error_handler) (_("dynamic variable `%s' is zero size"),
+                            h->root.root.string);
+      return TRUE;
+    }
+
   /* We must allocate the symbol in our .dynbss section, which will
      become part of the .bss section of the executable.  There will be
      an entry for this symbol in the .dynsym section.  The dynamic
This page took 0.021114 seconds and 4 git commands to generate.