nikic wrote: The common.ll case looks like a pretty clear bug. It looks like ld.bfd always picks the native symbol as the prevailing common, even if it is smaller (which it's not in the test case, but the behavior is the same if it is). https://github.com/llvm/llvm-project/pull/130981