summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Pouyollon2012-09-13 11:08:33 (EDT)
committerEugene Tarassov2012-09-13 17:23:15 (EDT)
commit0fb2d49e2ae1aa03e6b66fcf631e88c88736956b (patch)
treeff2365e85ba9aa86b18de3fc46dea4319ae30270
parent9c882b02b4098424c9ec757f88e217bc4a60eec5 (diff)
downloadorg.eclipse.tcf.agent-0fb2d49e2ae1aa03e6b66fcf631e88c88736956b.zip
org.eclipse.tcf.agent-0fb2d49e2ae1aa03e6b66fcf631e88c88736956b.tar.gz
org.eclipse.tcf.agent-0fb2d49e2ae1aa03e6b66fcf631e88c88736956b.tar.bz2
Adding EM_PPC64.
-rw-r--r--agent/tcf/services/dwarfframe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/tcf/services/dwarfframe.c b/agent/tcf/services/dwarfframe.c
index ae81537..eeef063 100644
--- a/agent/tcf/services/dwarfframe.c
+++ b/agent/tcf/services/dwarfframe.c
@@ -158,6 +158,7 @@ static RegisterRules * get_reg(StackFrameRegisters * regs, int reg) {
}
break;
case EM_PPC:
+ case EM_PPC64:
if (n == 1) {
regs->regs[n].rule = RULE_VAL_OFFSET;
}
@@ -849,6 +850,7 @@ static void generate_plt_section_commands(Context * ctx, ELF_File * file, U8_T o
generate_commands();
break;
case EM_PPC:
+ case EM_PPC64:
rules.return_address_register = 108; /* LR */
frame_regs.cfa_rule = RULE_OFFSET;
frame_regs.cfa_register = 1; /* R1 */