================
@@ -566,6 +570,7 @@ constexpr const char *knownZFlags[] = {
     "origin",
     "pac-plt",
     "pack-relative-relocs",
+    "pack-relative-auth-relocs",
----------------
kovdan01 wrote:

Update on my previous comment: changing `getPackDynRelocs` as I suggested above 
is probably not the best option since android packed relocs just replace the 
regular relocation section (`lld::elf::Partition::relaDyn`), while relr relocs 
(both regular and auth ones) have their own separate sections 
(`lld::elf::Partition::relrDyn` and `lld::elf::Partition::relrAuthDyn`). So, 
changed the logic to what you have suggested - just use `pack-relative-relocs` 
option for both regular and auth relr relocations. See 
d3411595fbbe37a14b0187ff0d134bd105892931.


https://github.com/llvm/llvm-project/pull/72714
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to