Don't special case undefined symbol when deciding the symbol order.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 28 May 2015 21:59:34 +0000 (21:59 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 28 May 2015 21:59:34 +0000 (21:59 +0000)
commitfb48de619e2bac3f4fe3aeda06a7b1c08fc4d623
tree3cb40a0234dba4e42f288cfec2c06b19d411be63
parent6882d57ef2f8eb56e7682b99a84746054785e2d2
Don't special case undefined symbol when deciding the symbol order.

ELF has no restrictions on where undefined symbols go relative to other defined
symbols. In fact, gas just sorts them together. Do the same.

This was there since r111174 probably just because the MachO writer has it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238513 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp
test/MC/ARM/arm-elf-symver.s
test/MC/ARM/elf-movt.s
test/MC/ELF/alias.s
test/MC/ELF/strtab-suffix-opt.s
test/MC/ELF/symver.s