Relocations that appear in Operand::Immediate.
(resolved: Option<ResolvedRelocation>)
| 2089 | |
| 2090 | /// Relocations that appear in Operand::Immediate. |
| 2091 | fn is_imm_reloc(resolved: Option<ResolvedRelocation>) -> bool { |
| 2092 | resolved.is_some_and(|r| { |
| 2093 | matches!(r.relocation.flags, RelocationFlags::Elf(elf::R_AARCH64_ADD_ABS_LO12_NC)) |
| 2094 | }) |
| 2095 | } |
| 2096 | |
| 2097 | /// Relocations that appear in Operand::RegPreIndex/RegPostIndex. |
| 2098 | fn is_reg_index_reloc(resolved: Option<ResolvedRelocation>) -> bool { |