Relocations that appear in Operand::RegPreIndex/RegPostIndex.
(resolved: Option<ResolvedRelocation>)
| 2096 | |
| 2097 | /// Relocations that appear in Operand::RegPreIndex/RegPostIndex. |
| 2098 | fn is_reg_index_reloc(resolved: Option<ResolvedRelocation>) -> bool { |
| 2099 | resolved.is_some_and(|r| { |
| 2100 | matches!( |
| 2101 | r.relocation.flags, |
| 2102 | RelocationFlags::Elf( |
| 2103 | elf::R_AARCH64_LDST32_ABS_LO12_NC | elf::R_AARCH64_LD64_GOT_LO12_NC |
| 2104 | ) |
| 2105 | ) |
| 2106 | }) |
| 2107 | } |
| 2108 | |
| 2109 | fn push_operand<Cb>(args: &mut Cb, o: &Operand, ctx: &mut DisplayCtx) |
| 2110 | where Cb: FnMut(InstructionPart<'static>) { |