[ELF][MIPS] Add handling for __gnu_local_gp symbol
authorSimon Atanasyan <simon@atanasyan.com>
Thu, 4 Feb 2016 12:09:49 +0000 (12:09 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Thu, 4 Feb 2016 12:09:49 +0000 (12:09 +0000)
commit597df21eb2385776cd4f015223b34bf81b45610e
tree43a15c8cb06df7528e02e96de2310f03f0950223
parent6e34c1dcf70d2ad9121ce133aa2806ee03232aaf
[ELF][MIPS] Add handling for __gnu_local_gp symbol

This symbol is a "fake" symbol like "_gp_disp" and denotes
the GOT + 0x7FF0 value.

llvm-svn: 259781
lld/ELF/Config.h
lld/ELF/Driver.cpp
lld/ELF/InputSection.cpp
lld/ELF/Writer.cpp
lld/test/ELF/mips-gp-local.s [new file with mode: 0644]