Significantly rework linker support for global variables, allowing it to
authorChris Lattner <sabre@nondot.org>
Fri, 3 Dec 2004 22:18:41 +0000 (22:18 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 3 Dec 2004 22:18:41 +0000 (22:18 +0000)
commitaee38ea5698fd770bb41d01d06542cb849e131a4
treec9f7f571c4aca5857dd5e5b693152715cc932a4b
parent68fa3ccf148f0a6242e0485cfea1a450ce9a4b96
Significantly rework linker support for global variables, allowing it to
correctly link globals whose LLVM types do not match.

This fixes several of the F2C SPEC FP benchmarks, which were failing this
due to the implementation of common blocks used by f2c.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18465 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Linker/LinkModules.cpp