[mips] Allow PT_LOAD to have overlapping p_offset ranges on EM_MIPS
authorSimon Atanasyan <simon@atanasyan.com>
Tue, 10 Sep 2019 20:19:59 +0000 (20:19 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Tue, 10 Sep 2019 20:19:59 +0000 (20:19 +0000)
commit6c6f5a9984525a23229b26cc4527cc2cb90375d0
tree862924617670f3ea4c18f36bef0a12abfd816da5
parent7a54d76fa540f88ffe45f9e9eeca958dea369719
[mips] Allow PT_LOAD to have overlapping p_offset ranges on EM_MIPS

Port the D64906 <https://reviews.llvm.org/D64906> technique to MIPS.

Fix PR33131

llvm-svn: 371554
lld/ELF/Writer.cpp
lld/test/ELF/basic-mips.s