Revert r367501 "Create unique, but identically-named ELF sections..."
authorBob Haarman <llvm@inglorion.net>
Wed, 7 Aug 2019 20:45:23 +0000 (20:45 +0000)
committerBob Haarman <llvm@inglorion.net>
Wed, 7 Aug 2019 20:45:23 +0000 (20:45 +0000)
commit885fa02da97a9f4d15f05fd7ec9c1358c47dd125
tree19ccc7133fcd2c1007a4fcf5d8835453a0fd36f9
parent762e662582dd9258626ee922b2852b5e44701004
Revert r367501 "Create unique, but identically-named ELF sections..."

This reverts commit fbc563e2cb6c5f1d0200b390513506b6aca4d2e9 "Create
unique, but identically-named ELF sections for explicitly-sectioned
functions and globals when using -function-sections and
-data-sections."

Reason for revert: sections are created with potentially wrong
attributes.

llvm-svn: 368204
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/test/CodeGen/X86/elf-associated.ll
llvm/test/CodeGen/X86/explicit-elf-sections.ll [deleted file]