| bc8fc882 | 07-Mar-2018 |
Jerome Forissier <jerome.forissier@linaro.org> |
ta.ld.S: make .plt section of user TAs executable
This patch is preparatory work for the support of dynamically linked user mode TAs.
The Procedure Linkage Table (.plt) section should be executable
ta.ld.S: make .plt section of user TAs executable
This patch is preparatory work for the support of dynamically linked user mode TAs.
The Procedure Linkage Table (.plt) section should be executable, because it contains special code used to redirect function calls to the proper destination in external (shared) libraries. Therefore, move it into the executable segment.
A couple of blank lines are removed in the hope that it will make it easier to see which sections are grouped together in the same segment.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| f8896d13 | 06-Feb-2018 |
Jerome Forissier <jerome.forissier@linaro.org> |
TA dev kit: add support for creating shared libraries
A new Makefile include (ta/arch/arm/link_shlib.mk) is introduced, it is quite similar to the file used to generate a TA (ta/arch/arm/link.mk) ex
TA dev kit: add support for creating shared libraries
A new Makefile include (ta/arch/arm/link_shlib.mk) is introduced, it is quite similar to the file used to generate a TA (ta/arch/arm/link.mk) except that is produces a shared object: $(SHLIBNAME).so. A signed file is also produced: $(SHLIBUUID).ta.
Actual support for dynamically linked TAs in the OP-TEE ELF loader will be added in subsequent patches.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| c21bf051 | 20-Apr-2018 |
Jens Wiklander <jens.wiklander@linaro.org> |
ta: export CFG_CACHE_API and CFG_SECURE_DATA_PATH
Exports CFG_CACHE_API and CFG_SECURE_DATA_PATH to the dev kit conf.mk, making them available for compiled TAs.
Reviewed-by: Jerome Forissier <jerom
ta: export CFG_CACHE_API and CFG_SECURE_DATA_PATH
Exports CFG_CACHE_API and CFG_SECURE_DATA_PATH to the dev kit conf.mk, making them available for compiled TAs.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| a62bf61e | 20-Apr-2018 |
Jens Wiklander <jens.wiklander@linaro.org> |
ta: pass CFG_ variables as defines
Pass all CFG_ variables as -D<varname>=<value> command line parameters for the C preprocessor. Variables set to "n" are not passed and variables set to "y" are sup
ta: pass CFG_ variables as defines
Pass all CFG_ variables as -D<varname>=<value> command line parameters for the C preprocessor. Variables set to "n" are not passed and variables set to "y" are supplied with the value "1" instead. This is the same translation as done for conf.h when compiling OP-TEE OS.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 1308459d | 20-Apr-2018 |
Jens Wiklander <jens.wiklander@linaro.org> |
ta: only export variables containing a value
Only exports variables containing a value to the dev kit conf.mk
Suggested-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jerome Foriss
ta: only export variables containing a value
Only exports variables containing a value to the dev kit conf.mk
Suggested-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 28a6ae14 | 19-Apr-2018 |
Jens Wiklander <jens.wiklander@linaro.org> |
ta: rework how CFG_TA_FLOAT_SUPPORT is passed
Reworks how CFG_TA_FLOAT_SUPPORT is passed to the exported conf.mk
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wikl
ta: rework how CFG_TA_FLOAT_SUPPORT is passed
Reworks how CFG_TA_FLOAT_SUPPORT is passed to the exported conf.mk
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 137eb244 | 19-Apr-2018 |
Jens Wiklander <jens.wiklander@linaro.org> |
ta: rework how ENABLE_MDBG=1 is passed
Reworks how ENABLE_MDBG=1 is passed when compiling the TA.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wik
ta: rework how ENABLE_MDBG=1 is passed
Reworks how ENABLE_MDBG=1 is passed when compiling the TA.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 8c8e1441 | 21-Feb-2018 |
Jerome Forissier <jerome.forissier@linaro.org> |
ta_dev_kit.mk: define ENABLE_MDBG when CFG_TEE_TA_MALLOC_DEBUG is set
In order to use the memory leak detection code, a user-mode TA needs two things: - A version of libutils.a that was built with m
ta_dev_kit.mk: define ENABLE_MDBG when CFG_TEE_TA_MALLOC_DEBUG is set
In order to use the memory leak detection code, a user-mode TA needs two things: - A version of libutils.a that was built with malloc debug code. This is taken care of by ta/ta.mk which sets ENABLE_MDBG=1 when CFG_TEE_TA_MALLOC_DEBUG is 'y'. - The proper declarations for mdbg_malloc(), mdbg_free(), mdbg_check() etc. as well as the macro redefinitions for malloc(), free() etc. in the header files when the TA is built. This patch adds the missing definition of ENABLE_MDBG in ta/mk/ta_dev_kit.mk when CFG_TEE_TA_MALLOC_DEBUG is 'y'.
In addition, the usage of CFG_TEE_TA_MALLOC_DEBUG and CFG_TEE_CORE_MALLOC_DEBUG is better documented in mk/conf.mk.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Volodymyr Babchuk <vlad.babchuk@gmail.com>
show more ...
|
| 910c5757 | 17-Aug-2017 |
Jerome Forissier <jerome.forissier@linaro.org> |
ta/ta.mk: add scripts/symbolize.py to TA dev kit
scripts/symbolize.py is useful to TA developers, so add it to the TA development kit.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
ta/ta.mk: add scripts/symbolize.py to TA dev kit
scripts/symbolize.py is useful to TA developers, so add it to the TA development kit.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|