diff options
Diffstat (limited to 'ELF/Driver.cpp')
| -rw-r--r-- | ELF/Driver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ELF/Driver.cpp b/ELF/Driver.cpp index 13b6119e2dc9..2e2036310fb2 100644 --- a/ELF/Driver.cpp +++ b/ELF/Driver.cpp @@ -1006,6 +1006,7 @@ static void setConfigs(opt::InputArgList &Args) { Config->Endianness = Config->IsLE ? endianness::little : endianness::big; Config->IsMips64EL = (K == ELF64LEKind && M == EM_MIPS); Config->Pic = Config->Pie || Config->Shared; + Config->PicThunk = Args.hasArg(OPT_pic_veneer, Config->Pic); Config->Wordsize = Config->Is64 ? 8 : 4; // ELF defines two different ways to store relocation addends as shown below: |
