summaryrefslogtreecommitdiff
path: root/include/link_defs.h
diff options
context:
space:
mode:
authorYilun Lin <yllin@google.com>2019-01-23 17:02:42 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-01-28 07:22:50 -0800
commitb8189096e5be33848372dca449d045c2ba25e812 (patch)
tree3dda00597282917177b588c54252d2733aeca809 /include/link_defs.h
parent818bbeda2631a2121647630ebd73cef660347277 (diff)
downloadchrome-ec-b8189096e5be33848372dca449d045c2ba25e812.tar.gz
link_defs.h: Renames __ro_end to __data_lma_start.
The name of __ro_end is confusing. The variable is actually used as a label tagging that it is the starting address of .data LMA. Renames to __data_lma_start to be more decriptive. BRANCH=None TEST=make buildall -j BUG=b:122084384 Change-Id: I8990a2a1f3d0719739a8e649b881cb277fe5a9b8 Signed-off-by: Yilun Lin <yllin@google.com> Reviewed-on: https://chromium-review.googlesource.com/1433160 Commit-Ready: Yilun Lin <yllin@chromium.org> Tested-by: Yilun Lin <yllin@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'include/link_defs.h')
-rw-r--r--include/link_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/link_defs.h b/include/link_defs.h
index 299cf54b75..37049a36eb 100644
--- a/include/link_defs.h
+++ b/include/link_defs.h
@@ -104,7 +104,7 @@ extern uint8_t *__data_libtpm2_start;
extern uint8_t *__data_libtpm2_end;
/* Image sections. */
-extern const void *__ro_end;
+extern const void *__data_lma_start;
extern const void *__data_start;
extern const void *__data_end;