From c698376c550a130f3c9715e71ed6f4ee76cca1f9 Mon Sep 17 00:00:00 2001 From: clc5q <clc5q@git.zephyr-software.com> Date: Tue, 14 Jul 2015 18:49:49 +0000 Subject: [PATCH] Remove last use of function get_endEA(). Former-commit-id: 9bbf68732bbc8f8fd079bfd74dd6a0fe8f3577ed --- src/base/SMPFunction.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/base/SMPFunction.cpp b/src/base/SMPFunction.cpp index 00bd3f84..80a4a2e8 100644 --- a/src/base/SMPFunction.cpp +++ b/src/base/SMPFunction.cpp @@ -8208,7 +8208,8 @@ void SMPFunction::EmitAnnotations(FILE *AnnotFile, FILE *InfoAnnotFile) { if (this->IsLeaf()) SMP_fprintf(AnnotFile, "FUNC_LEAF "); // Store the first return instruction's address - SMP_fprintf(AnnotFile,"%10lx ", (unsigned long) (this->FuncInfo->get_endEA() - 1)); + // NOTE: This was useless info and we just print an address to keep the line format the same for easy parsing. + SMP_fprintf(AnnotFile,"%10lx ", (unsigned long) (this->FuncInfo->get_startEA() + this->FuncInfo->GetFuncSize() - 1)); if (this->IsLibFunc()) SMP_fprintf(AnnotFile, "LIBRARY "); -- GitLab