summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenan Le Padellec2012-10-17 11:50:29 (EDT)
committer Eugene Tarassov2012-10-17 13:37:40 (EDT)
commit706998cddc5c9b6427af62728ee65288944b3370 (patch)
tree77c006c1e20161fddba3101443bba93d1e750329
parenta3940f8c94b5e0bd7077755dfa70df2a9ef71050 (diff)
downloadorg.eclipse.tcf.agent-706998cddc5c9b6427af62728ee65288944b3370.zip
org.eclipse.tcf.agent-706998cddc5c9b6427af62728ee65288944b3370.tar.gz
org.eclipse.tcf.agent-706998cddc5c9b6427af62728ee65288944b3370.tar.bz2
Bug 392196 - Enhance the error message for COMMON symbol
-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 c412e26..bf1e073 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;