Always create a .got on mips.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 12 Apr 2016 13:21:13 +0000 (13:21 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 12 Apr 2016 13:21:13 +0000 (13:21 +0000)
commita22b082e46f6ce1216ca2a2792ee0a8a423f0ee9
tree0231194874a6abd02d7baae99e2fb10b5333b9c8
parentd41b54be118827b043989debb7c456b3a0d5e65c
Always create a .got on mips.

The _gp* family of symbols is defined as an offset in .got, and it is
not at all clear what should happen when .got is not defined.

This will allow some simplifications on how these symbols are handled.

llvm-svn: 266063
lld/ELF/Writer.cpp
lld/test/ELF/basic-mips.s
lld/test/ELF/eh-frame-hdr-abs-fde.s
lld/test/ELF/mips-gp-local.s
lld/test/ELF/mips-hilo.s
lld/test/ELF/mips-pc-relocs.s