diff options
author | Stefan Pintilie <stefanp@ca.ibm.com> | 2022-07-13 14:08:55 -0500 |
---|---|---|
committer | Stefan Pintilie <stefanp@ca.ibm.com> | 2022-07-13 19:34:33 -0500 |
commit | c1f3cffee1ec8d46f37175fecae91480be6a61e1 (patch) | |
tree | fe175d4b35c995dc13a0c07c2b2390dfb3edd38e /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 1d7e58cfade1dd4236efba59ce969698bb05a039 (diff) | |
download | llvm-c1f3cffee1ec8d46f37175fecae91480be6a61e1.zip llvm-c1f3cffee1ec8d46f37175fecae91480be6a61e1.tar.gz llvm-c1f3cffee1ec8d46f37175fecae91480be6a61e1.tar.bz2 |
[PowerPC][LLD] Change PPC64R2SaveStub to only use non-PC-relative code
Currently the PPC64R2SaveStub thunk will produce Power 10 code by default.
This produced an issue when linking older code that made use of the st_other=1
bit but was never meant to be linked or run on Power 10.
This patch makes it so that only the R_PPC64_REL24_NOTOC relocation can produce
Power 10 code.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D129580
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions