Issue |
133773
|
Summary |
Clang -fpie defaults to -fno-direct-access-external-data
|
Labels |
clang
|
Assignees |
|
Reporter |
artem
|
Godbolt link: https://godbolt.org/z/PorjEM1q1
According to corresponding test's comment, -fpie is expected to emit copy relocations by default: https://github.com/llvm/llvm-project/blob/ddee8eff9c/clang/test/Driver/fdirect-access-external-data.c#L6
This behaviour is inconsistent with GCC as well.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs