@ABS8 can be applied to symbols which appear as immediate operands to
instructions that have a 8-bit immediate form for that operand. It causes
the assembler to use the 8-bit form and an 8-bit relocation (e.g. R_386_8
or R_X86_64_8) for the symbol.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/include/llvm/MC/MCExpr.h | ||
---|---|---|
193 ↗ | (On Diff #84346) | Should this be VK_X86_ABS8 or do we expect other targets to use this? |
llvm/include/llvm/MC/MCExpr.h | ||
---|---|---|
193 ↗ | (On Diff #84346) | Browsing the lists of relocations in include/llvm/Support/ELFRelocs I can see that ARM and a few other targets have 8-bit relocations, but then of course ARM represents immediate operands in a completely different way (haven't thought about other targets). Renamed to be X86-specific and we can think about a more generic name if a need arises. |