Files
Ryan Prichard 6024e5c395 Update prebuilt Clang to r547379 (20.0.0).
clang 20.0.0 (based on r547379) from build 12806354.

Bug: http://b/379133546
Test: N/A
Change-Id: I2eb8938af55d809de674be63cb30cf27e801862b

Upstream-Commit: ad834e67b1105d15ef907f6255d4c96e8e733f57
2025-11-26 14:59:46 -05:00

20 lines
542 B
Modula-2

#ifndef ELF_RELOC
#error "ELF_RELOC must be defined"
#endif
// No relocation
ELF_RELOC(R_LANAI_NONE, 0)
// 21-bit symbol relocation
ELF_RELOC(R_LANAI_21, 1)
// 21-bit symbol relocation with last two bits masked to 0
ELF_RELOC(R_LANAI_21_F, 2)
// 25-bit branch targets
ELF_RELOC(R_LANAI_25, 3)
// General 32-bit relocation
ELF_RELOC(R_LANAI_32, 4)
// Upper 16-bits of a symbolic relocation
ELF_RELOC(R_LANAI_HI16, 5)
// Lower 16-bits of a symbolic relocation
ELF_RELOC(R_LANAI_LO16, 6)