ta: riscv: Add MCOUNT_SYM definitionWith the -pg option, the compiler inserts a call to _mcount into everyfunction prologue. Add definition for MCOUNT_SYM so that the linkercreates the additional
ta: riscv: Add MCOUNT_SYM definitionWith the -pg option, the compiler inserts a call to _mcount into everyfunction prologue. Add definition for MCOUNT_SYM so that the linkercreates the additional space for ftrace buffer.Signed-off-by: Alvin Chang <alvinga@andestech.com>Acked-by: Jerome Forissier <jerome.forissier@linaro.org>Acked-by: Sumit Garg <sumit.garg@linaro.org>Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>
show more ...
build: ta: add RISC-V linker scriptSort out the common code compiled by TA,abstract RISCV and ARM compile the common part of TA.Signed-off-by: liushiwei <liushiwei@eswincomputing.com>Reviewed-b
build: ta: add RISC-V linker scriptSort out the common code compiled by TA,abstract RISCV and ARM compile the common part of TA.Signed-off-by: liushiwei <liushiwei@eswincomputing.com>Reviewed-by: chenchaokai <chenchaokai@eswincomputing.com>Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>