diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2023-01-05 13:48:29 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2023-01-20 08:26:35 -0600 |
commit | 189539f70d1be16cc2a768cf2b613611cf0025cd (patch) | |
tree | 081aef32730abf75b4b87ea23ab083215f6bacc3 | |
parent | cpukit/libdl: Use correct mask for reloc type (diff) | |
download | rtems-189539f70d1be16cc2a768cf2b613611cf0025cd.tar.bz2 |
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.
-rw-r--r-- | cpukit/libdl/rtl-mdreloc-aarch64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libdl/rtl-mdreloc-aarch64.c b/cpukit/libdl/rtl-mdreloc-aarch64.c index c60ecb31c9..4c51d97a78 100644 --- a/cpukit/libdl/rtl-mdreloc-aarch64.c +++ b/cpukit/libdl/rtl-mdreloc-aarch64.c @@ -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; } |