Revert "[ELF] -z combreloc: sort dynamic relocations by (symbol_index,r_offset)"
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 20 May 2019 13:05:55 +0000 (13:05 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 20 May 2019 13:05:55 +0000 (13:05 +0000)
commita2fbe2bcda3d820d1a249902406f6f21cf9e9039
tree1cd54aa474ca4b3e60564c49dc5821ec981790fd
parented67bf8d2f31088a611603550965ccf823cb5eb9
Revert "[ELF] -z combreloc: sort dynamic relocations by (symbol_index,r_offset)"

This reverts commit r361125.  This linker change breaks shared libraries
in some subtle way on x86_64.  (Specifically, gold segfaults when
loading the LLVMgold.so plugin linked with lldb with this patch.)

llvm-svn: 361150
lld/ELF/SyntheticSections.cpp
lld/test/ELF/combreloc.s [deleted file]
lld/test/ELF/combrelocs.s [new file with mode: 0644]
lld/test/ELF/i386-got-and-copy.s
lld/test/ELF/mips-mgot.s