From 3df686e10f1d98ed064a9d18c8147138aad44108 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 14 Feb 2020 02:15:37 +0900 Subject: [PATCH] sim: berr() unknown relocation type --- libs/libc/machine/sim/arch_elf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/libc/machine/sim/arch_elf.c b/libs/libc/machine/sim/arch_elf.c index 3d0f167eb00..fc18a79b94b 100644 --- a/libs/libc/machine/sim/arch_elf.c +++ b/libs/libc/machine/sim/arch_elf.c @@ -127,6 +127,7 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, break; default: + berr("ERROR: Unsupported type %u\n", ELF32_R_TYPE(rel->r_info)); return -EINVAL; }