diff options
Diffstat (limited to 'lib/Driver/ToolChains/Arch/PPC.cpp')
| -rw-r--r-- | lib/Driver/ToolChains/Arch/PPC.cpp | 9 | 
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Driver/ToolChains/Arch/PPC.cpp b/lib/Driver/ToolChains/Arch/PPC.cpp index 791f1206cf257..30f1a0d9022c2 100644 --- a/lib/Driver/ToolChains/Arch/PPC.cpp +++ b/lib/Driver/ToolChains/Arch/PPC.cpp @@ -1,9 +1,8 @@  //===--- PPC.cpp - PPC Helpers for Tools ------------------------*- C++ -*-===//  // -//                     The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception  //  //===----------------------------------------------------------------------===// @@ -116,7 +115,7 @@ ppc::ReadGOTPtrMode ppc::getPPCReadGOTPtrMode(const Driver &D, const llvm::Tripl                                                const ArgList &Args) {    if (Args.getLastArg(options::OPT_msecure_plt))      return ppc::ReadGOTPtrMode::SecurePlt; -  if (Triple.isOSOpenBSD()) +  if (Triple.isOSNetBSD() || Triple.isOSOpenBSD() || Triple.isMusl())      return ppc::ReadGOTPtrMode::SecurePlt;    else      return ppc::ReadGOTPtrMode::Bss;  | 
