Set DT_MIPS_BASE_ADDRESS correctly if -image-base is given.
authorRui Ueyama <ruiu@google.com>
Thu, 14 Jul 2016 17:40:18 +0000 (17:40 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 14 Jul 2016 17:40:18 +0000 (17:40 +0000)
commitcafc0f2e03269e3d67da2535f8db188ba8363a16
tree2ffe928af365413c2e2f86309ce4ef49ee5687f6
parenta6c7595d0fd94d6c0784d082eee28016f15c5940
Set DT_MIPS_BASE_ADDRESS correctly if -image-base is given.

Differential Revision: http://reviews.llvm.org/D22323

llvm-svn: 275446
lld/ELF/OutputSections.cpp
lld/test/ELF/mips-dynamic.s