daily update
[deliverable/binutils-gdb.git] / bfd / elf32-vax.c
index 8faf99c519016b76ebe23003ae1de595d6255491..7a150ba7396794cdf062fb1b37f523c343b005f5 100644 (file)
@@ -1054,6 +1054,13 @@ elf_vax_adjust_dynamic_symbol (info, h)
   if (info->shared)
     return TRUE;
 
+  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.023181 seconds and 4 git commands to generate.