Index: /trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h
===================================================================
--- /trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h	(revision 54986)
+++ /trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h	(revision 54987)
@@ -250,5 +250,6 @@
         else
         {
-            AssertReturn(pSym->st_shndx < pModElf->cSyms || pSym->st_shndx == SHN_ABS, ("%#x\n", pSym->st_shndx));
+            AssertMsgReturn(pSym->st_shndx < pModElf->cSyms || pSym->st_shndx == SHN_ABS, ("%#x\n", pSym->st_shndx),
+                            VERR_LDRELF_INVALID_RELOCATION_OFFSET);
 #if   ELF_MODE == 64
             SymValue = pSym->st_value;
