Home | History | Annotate | Download | only in llvm-objdump

Lines Matching defs:r_type

465 static void PrintRType(const uint64_t cputype, const unsigned r_type) {
487 if (r_type > 0xf){
488 outs() << format("%-7u", r_type) << " ";
493 outs() << generic_r_types[r_type];
496 outs() << x86_64_r_types[r_type];
499 outs() << arm_r_types[r_type];
502 outs() << arm64_r_types[r_type];
505 outs() << format("%-7u ", r_type);
509 static void PrintRLength(const uint64_t cputype, const unsigned r_type,
512 (r_type == llvm::MachO::ARM_RELOC_HALF ||
513 r_type == llvm::MachO::ARM_RELOC_HALF_SECTDIFF ||
559 const unsigned r_type = O->getAnyRelocationType(RE);
575 r_type == llvm::MachO::GENERIC_RELOC_PAIR) ||
577 r_type == llvm::MachO::ARM_RELOC_PAIR))
589 PrintRLength(cputype, r_type, r_length, previous_arm_half);
593 PrintRType(cputype, r_type);
599 r_type == llvm::MachO::ARM_RELOC_PAIR))
606 (r_type == llvm::MachO::GENERIC_RELOC_SECTDIFF ||
607 r_type == llvm::MachO::GENERIC_RELOC_LOCAL_SECTDIFF)) ||
613 sectdiff_r_type = r_type;
620 (r_type == llvm::MachO::ARM_RELOC_HALF ||
621 r_type == llvm::MachO::ARM_RELOC_HALF_SECTDIFF))
630 (unsigned int)r_address, r_pcrel, r_length, r_type,
638 r_type == llvm::MachO::ARM_RELOC_PAIR)
650 PrintRLength(cputype, r_type, r_length, previous_arm_half);
655 PrintRType(cputype, r_type);
676 PrintRType(cputype, r_type);
681 r_type == llvm::MachO::ARM_RELOC_PAIR)
684 r_type == llvm::MachO::ARM64_RELOC_ADDEND)
710 (r_type == llvm::MachO::ARM_RELOC_HALF ||
711 r_type == llvm::MachO::ARM_RELOC_HALF_SECTDIFF))
720 r_type, r_symbolnum);
2251 uint32_t r_value, pair_r_value, r_type;
2257 r_type = info->O->getAnyRelocationType(RE);
2261 if (r_type == MachO::GENERIC_RELOC_SECTDIFF ||
2262 r_type == MachO::GENERIC_RELOC_LOCAL_SECTDIFF) {
2294 if (reloc_found && (r_type == MachO::GENERIC_RELOC_SECTDIFF ||
2295 r_type == MachO::GENERIC_RELOC_LOCAL_SECTDIFF)) {
2438 uint32_t r_value, pair_r_value, r_type, r_length, other_half;
2454 r_type = info->O->getScatteredRelocationType(RE);
2456 r_type = info->O->getAnyRelocationType(RE);
2463 if (r_type == MachO::ARM_RELOC_HALF ||
2464 r_type == MachO::ARM_RELOC_SECTDIFF ||
2465 r_type == MachO::ARM_RELOC_LOCAL_SECTDIFF ||
2466 r_type == MachO::ARM_RELOC_HALF_SECTDIFF) {
2483 switch (r_type) {
2502 if (isExtern == 0 && (r_type == MachO::ARM_RELOC_BR24 ||
2503 r_type == MachO::ARM_THUMB_RELOC_BR22))
2507 if (r_type == MachO::ARM_RELOC_HALF ||
2508 r_type == MachO::ARM_RELOC_HALF_SECTDIFF) {
2514 if (r_scattered && (r_type != MachO::ARM_RELOC_HALF &&
2515 r_type != MachO::ARM_RELOC_HALF_SECTDIFF)) {
2520 if (r_type == MachO::ARM_RELOC_HALF_SECTDIFF) {
2544 if (r_type == MachO::ARM_RELOC_HALF) {
2583 uint32_t r_type = info->O->getAnyRelocationType(RE);
2584 if (r_type == MachO::ARM64_RELOC_ADDEND) {
2603 switch (r_type) {