cpukit/libdl: Print the missing AArch64 reloc type

This prints the relocation type that was found to be missing in addition
to its address to aid in bug reports.
This commit is contained in:
Kinsey Moore
2023-01-05 13:48:29 -06:00
committed by Joel Sherrill
parent df0de7810f
commit 189539f70d

View File

@@ -452,8 +452,8 @@ rtems_rtl_elf_reloc_rela (rtems_rtl_obj* obj,
break;
default:
printf ("rtl: Unsupported relocation type in %s --> %p in %s\n",
sect->name, (void *)where,
printf ("rtl: Unsupported relocation type (%ld) in %s --> %p in %s\n",
ELF_R_TYPE(rela->r_info), sect->name, (void *)where,
rtems_rtl_obj_oname (obj));
return rtems_rtl_elf_rel_failure;
}