The implementation is based on the X86 version, with the same code of symbol and addend extraction. The differences include the support for RelType `R_AARCH64_CALL26` and the deletion of 8-bit relocation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Can you please retitle it as "[BOLT] Implement createRelocation for AArch64"?
bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp | ||
---|---|---|
1207–1213 | This part looks to be common for X86 and AArch64. Can you please factor it out (in a separate diff)? |
bolt/lib/Core/Relocation.cpp | ||
---|---|---|
349–351 | Oh, it was my mistake. This assert() now checks whether "Value(i.e., offset) + 128M" is less than 256M. |
bolt/lib/Core/Relocation.cpp | ||
---|---|---|
350 |