CHERIoT-Platform / llvm-project

Fork of LLVM adding CHERIoT, based on the CHERI LLVM fork
4 stars 6 forks source link

Generalise relocations for AUIPCC / AUICGP #7

Closed davidchisnall closed 8 months ago

davidchisnall commented 1 year ago

Currently, we have different relocations for PCC and CGP-relative accesses. Now that we're driving those through linker relaxation, we should have a single one that rewrites the AUIPCC instruction to AUICGP if the target is in a data section. This will also be a starting point for moving read-only data out of PCC.