From: "Edgar E. Iglesias" <edgar.iglesias@amd.com>
On the way towards Xen safety certification we're evaluating the use
of tools to collect code-coverage/profiling information from execution
traces. Some tools rely on ELF symbols for code being declared with
type FUNC and having a symbol size.
We currently annotate some symbols but not all. Also, there seems to be
different ways to do the annotation.
This series now converts all the .S files under xen/arm/arm64 to use
the macros from xen/linkage.h and also adds missing code symbol
annotations when appropriate.
Best regards,
Edgar
ChangeLog:
v2 -> v3:
* Convert and add annotations for all of xen/arm/arm64.
* Fix brain freeze in commit message for entry.S.
v1 -> v2:
* Drop RFC.
* Squash into a single patch to avoid confusion.
Edgar E. Iglesias (9):
xen/arm64: entry: Add missing code symbol annotations
xen/arm64: smc: Add missing code symbol annotations
xen/arm64: sve: Add missing code symbol annotations
xen/arm64: head: Add missing code symbol annotations
xen/arm64: debug: Add missing code symbol annotations
xen/arm64: bpi: Add missing code symbol annotations
xen/arm64: mmu/head: Add missing code symbol annotations
xen/arm64: cache: Use the generic xen/linkage.h macros
xen/arm64: lib: Use the generic xen/linkage.h macros
xen/arch/arm/arm64/bpi.S | 20 +++++----
xen/arch/arm/arm64/cache.S | 4 +-
xen/arch/arm/arm64/debug.S | 6 ++-
xen/arch/arm/arm64/entry.S | 72 +++++++++++++++++++++-----------
xen/arch/arm/arm64/head.S | 50 +++++++++++-----------
xen/arch/arm/arm64/lib/memchr.S | 4 +-
xen/arch/arm/arm64/lib/memcmp.S | 4 +-
xen/arch/arm/arm64/lib/memcpy.S | 4 +-
xen/arch/arm/arm64/lib/memmove.S | 4 +-
xen/arch/arm/arm64/lib/memset.S | 4 +-
xen/arch/arm/arm64/lib/strchr.S | 4 +-
xen/arch/arm/arm64/lib/strcmp.S | 4 +-
xen/arch/arm/arm64/lib/strlen.S | 4 +-
xen/arch/arm/arm64/lib/strncmp.S | 4 +-
xen/arch/arm/arm64/lib/strnlen.S | 4 +-
xen/arch/arm/arm64/lib/strrchr.S | 4 +-
xen/arch/arm/arm64/mmu/head.S | 28 ++++++-------
xen/arch/arm/arm64/smc.S | 6 ++-
xen/arch/arm/arm64/sve-asm.S | 9 ++--
19 files changed, 138 insertions(+), 101 deletions(-)
--
2.40.1