Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tcf/services/dwarfreloc.c')
-rw-r--r--agent/tcf/services/dwarfreloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/agent/tcf/services/dwarfreloc.c b/agent/tcf/services/dwarfreloc.c
index c412e262..bf1e0735 100644
--- a/agent/tcf/services/dwarfreloc.c
+++ b/agent/tcf/services/dwarfreloc.c
@@ -87,6 +87,8 @@ static void relocate(void * r) {
sym_value = bf.st_value;
break;
case SHN_COMMON:
+ str_exception(ERR_INV_FORMAT, "Common relocation record unsupported");
+ break;
case SHN_UNDEF:
str_exception(ERR_INV_FORMAT, "Invalid relocation record");
break;
@@ -140,6 +142,8 @@ static void relocate(void * r) {
sym_value = bf.st_value;
break;
case SHN_COMMON:
+ str_exception(ERR_INV_FORMAT, "Common relocation record unsupported");
+ break;
case SHN_UNDEF:
str_exception(ERR_INV_FORMAT, "Invalid relocation record");
break;

Back to the top