diff options
Diffstat (limited to 'bolt/include/bolt/Core/Relocation.h')
-rw-r--r-- | bolt/include/bolt/Core/Relocation.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bolt/include/bolt/Core/Relocation.h b/bolt/include/bolt/Core/Relocation.h index 51dd76938756..1296c001db57 100644 --- a/bolt/include/bolt/Core/Relocation.h +++ b/bolt/include/bolt/Core/Relocation.h @@ -64,8 +64,7 @@ struct Relocation { static bool skipRelocationProcess(uint64_t &Type, uint64_t Contents); // Adjust value depending on relocation type (make it PC relative or not) - static uint64_t adjustValue(uint64_t Type, uint64_t Value, - uint64_t PC); + static uint64_t encodeValue(uint64_t Type, uint64_t Value, uint64_t PC); /// Extract current relocated value from binary contents. This is used for /// RISC architectures where values are encoded in specific bits depending |