fix Issue 11237

- On ELF struct initializers had always a size of 1 byte and were weak
  objects.