[PATCH] D137044: [ClangFE] Add support for option -mno-pic-data-is-text-relative

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 4 13:08:19 PDT 2022


efriedma added a comment.

I'm very confused how you expect this to work... messing with the linkage of global variables is almost certainly going to explode.  If you need emit special sequences to access global variables with internal linkage, I'd expect the backend to handle that (along the lines of how -frwpi works on ARM).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137044/new/

https://reviews.llvm.org/D137044



More information about the llvm-commits mailing list