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

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 28 15:39:54 PDT 2024


================
@@ -86,6 +86,8 @@ DYNAMIC_TAG(RELRSZ, 35)  // Size of Relr relocation table.
 DYNAMIC_TAG(RELR, 36)    // Address of relocation table (Relr entries).
 DYNAMIC_TAG(RELRENT, 37) // Size of a Relr relocation entry.
 
+DYNAMIC_TAG(CREL,  38)   // CREL relocation table
+
----------------
MaskRay wrote:

I changed DT_CREL to 0x40000026 for now.

It's complex but the spec on sco.com might get further updates, but it doesn't matter if GNU and LLVM can be kept in sync and the specification is essentially in the public domain. https://news.ycombinator.com/item?id=40486068


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


More information about the cfe-commits mailing list