[PATCH] D116017: [ELF] #undef PPC to support GCC powerpc32 build
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 20 10:13:05 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGbee5bc9075a4: [ELF] #undef PPC to support GCC powerpc32 build (authored by MaskRay).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116017/new/
https://reviews.llvm.org/D116017
Files:
lld/ELF/Arch/PPC.cpp
Index: lld/ELF/Arch/PPC.cpp
===================================================================
--- lld/ELF/Arch/PPC.cpp
+++ lld/ELF/Arch/PPC.cpp
@@ -20,6 +20,9 @@
using namespace lld;
using namespace lld::elf;
+// Undefine the macro predefined by GCC powerpc32.
+#undef PPC
+
namespace {
class PPC final : public TargetInfo {
public:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116017.395491.patch
Type: text/x-patch
Size: 342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211220/3196b37c/attachment.bin>
More information about the llvm-commits
mailing list