It turns out that putting an 8-byte symbol in a 4-byte section makes Solaris ld sulk...
authorDavid Chisnall <csdavec@swan.ac.uk>
Fri, 17 Feb 2012 16:05:50 +0000 (16:05 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Fri, 17 Feb 2012 16:05:50 +0000 (16:05 +0000)
commitca5b752d1873707c5c7d846515998ccf5002edca
tree62c853712e63b8c046700a5a7f419140fe168218
parentc5e6f99981b3195f63e5f3579cbb73e32be12e9f
It turns out that putting an 8-byte symbol in a 4-byte section makes Solaris ld sulk.  GNU ld is perfectly happy with it, which is worrying for a whole other set of reasons...

Thanks to Anton, Duncan and Rafael for helping me track this down.
Pointy hat to Rafael for introducing the bug in the first place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150811 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
test/CodeGen/X86/personality_size.ll [new file with mode: 0644]