summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Coutand2012-06-28 07:48:11 (EDT)
committerEugene Tarassov2012-06-29 10:40:02 (EDT)
commit436f4747e00e53297faf53a40bc1f81034faf709 (patch)
tree9c4e454df901c9aac9e0e83f472f0ab2aacbac6e
parent339b6aae2bac6bafdd5ead76ebce80b5c0cbf002 (diff)
downloadorg.eclipse.tcf.agent-436f4747e00e53297faf53a40bc1f81034faf709.zip
org.eclipse.tcf.agent-436f4747e00e53297faf53a40bc1f81034faf709.tar.gz
org.eclipse.tcf.agent-436f4747e00e53297faf53a40bc1f81034faf709.tar.bz2
Fix DWARF relocation for string offsets.
-rw-r--r--agent/tcf/services/dwarfio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/dwarfio.c b/agent/tcf/services/dwarfio.c
index ee3d477..a697442 100644
--- a/agent/tcf/services/dwarfio.c
+++ b/agent/tcf/services/dwarfio.c
@@ -380,7 +380,7 @@ static void dio_ReadFormString(void) {
}
static void dio_ReadFormStringRef(void) {
- U8_T Offset = dio_ReadUX(sUnit->m64bit ? 8 : 4);
+ U8_T Offset = dio_ReadAddressX(&dio_gFormSection, sUnit->m64bit ? 8 : 4);
U4_T StringTableSize = 0;
U1_T * StringTable = dio_LoadStringTable(&StringTableSize);
dio_gFormDataAddr = StringTable + Offset;