remove the SelectSectionForMachineConst hook, replacing it with
authorChris Lattner <sabre@nondot.org>
Wed, 22 Jul 2009 00:28:43 +0000 (00:28 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 22 Jul 2009 00:28:43 +0000 (00:28 +0000)
commit298414ec1891ce8d3a1b69e6019ad8765c8e69dc
tree603a6eb1a17ad2fa32f99daa34a77c5e7e42de9f
parentfc6ad402fb267cba1625801444aad30da43d383a
remove the SelectSectionForMachineConst hook, replacing it with
a new getSectionForMergableConstant hook.  This removes one dependence
of TAI on Type, and provides the hook with enough info to make the
right decision based on whether the global has relocations etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76705 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/DarwinTargetAsmInfo.h
include/llvm/Target/ELFTargetAsmInfo.h
include/llvm/Target/TargetAsmInfo.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/ELFWriter.cpp
lib/Target/DarwinTargetAsmInfo.cpp
lib/Target/ELFTargetAsmInfo.cpp
lib/Target/TargetAsmInfo.cpp