diff options
author | Rui Ueyama <ruiu@google.com> | 2018-10-24 13:44:51 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-10-24 13:44:51 +0000 |
commit | 6e763a36c6708787429f03c791367a16dc4976ea (patch) | |
tree | 7d2f77f9ac2bf2251d5dc5f3892d95782ccf1705 /lld/ELF | |
parent | ee2b61cfd3cd1576b93437b213f2da0266c2969d (diff) | |
download | bcm5719-llvm-6e763a36c6708787429f03c791367a16dc4976ea.tar.gz bcm5719-llvm-6e763a36c6708787429f03c791367a16dc4976ea.zip |
Add parenthese around a bitand.
llvm-svn: 345139
Diffstat (limited to 'lld/ELF')
-rw-r--r-- | lld/ELF/Writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 77ef2525ef6..0c33b439e5f 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -1818,7 +1818,7 @@ static bool needsPtLoad(OutputSection *Sec) { // Don't allocate VA space for TLS NOBITS sections. The PT_TLS PHDR is // responsible for allocating space for them, not the PT_LOAD that // contains the TLS initialization image. - if (Sec->Flags & SHF_TLS && Sec->Type == SHT_NOBITS) + if ((Sec->Flags & SHF_TLS) && Sec->Type == SHT_NOBITS) return false; return true; } |