[PATCH] D86707: [SystemZ][z/OS] Adding initial toolchain for z/OS
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 27 12:30:44 PDT 2020
hubert.reinterpretcast added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/ZOS.h:25
+
+ bool isPICDefault() const override { return false; }
+ bool isPIEDefault() const override { return false; }
----------------
According to the RFC re: LLVM on z/OS, the initial support in LLVM for z/OS is only for XPLink. My understanding is that all XPLink applications are DLL-enabled. Does being DLL-enabled not imply that the code is position-independent?
I understand that the value of the `__DLL__` predefined macro from the XL C compiler does not reflect the implicit DLL-enablement of XPLink code; however, I also note that the same compiler claims falsely that `Option NODLL is ignored because option XPLINK is specified` when `-qnodll` does actually suppress the effect of an earlier `-qdll` in causing `__DLL__` to be defined.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86707/new/
https://reviews.llvm.org/D86707
More information about the cfe-commits
mailing list