Gcov: Added linker changes needed by Gcov.

This patch adds all the required hooks needed in the linker
script.

Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
This commit is contained in:
Adithya Baglody 2018-08-31 15:09:26 +05:30 committed by Anas Nashif
commit b57a149828
3 changed files with 18 additions and 11 deletions

View file

@ -236,6 +236,12 @@ extern char _image_rodata_end[];
extern char _vector_start[];
extern char _vector_end[];
#ifdef CONFIG_COVERAGE_GCOV
extern char __gcov_bss_start[];
extern char __gcov_bss_end[];
extern char __gcov_bss_size[];
#endif /* CONFIG_COVERAGE_GCOV */
/* end address of image, used by newlib for the heap */
extern char _end[];