[clang] [llvm] [MC,llvm-readobj,yaml2obj] Support CREL relocation format (PR #91280)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Fri May 17 07:50:33 PDT 2024


================
@@ -0,0 +1,18 @@
+# REQUIRES: powerpc-registered-target
+## Test CREL for a 32-bit big-endian target.
----------------
smithp35 wrote:

AIUI from https://example61560.wordpress.com/wp-content/uploads/2016/11/powerpc_abi.pdf Power PC uses RELA relocations. Would it be worth testing a target that uses REL relocations by default?

For example 32-bit Arm is REL.

Or have I misunderstood and when CREL is used a target can choose rel or rela. 

https://github.com/llvm/llvm-project/pull/91280


More information about the llvm-commits mailing list