mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
Merge "fix(pauth): make pauth_helpers linking generic" into integration
This commit is contained in:
commit
0ed75fb78f
3 changed files with 9 additions and 4 deletions
7
Makefile
7
Makefile
|
@ -517,6 +517,13 @@ BL_COMMON_SOURCES += common/bl_common.c \
|
||||||
plat/common/${ARCH}/platform_helpers.S \
|
plat/common/${ARCH}/platform_helpers.S \
|
||||||
${COMPILER_RT_SRCS}
|
${COMPILER_RT_SRCS}
|
||||||
|
|
||||||
|
# Pointer Authentication sources
|
||||||
|
ifeq (${ENABLE_PAUTH}, 1)
|
||||||
|
# arm/common/aarch64/arm_pauth.c contains a sample platform hook to complete the
|
||||||
|
# Pauth support. As it's not secure, it must be reimplemented for real platforms
|
||||||
|
BL_COMMON_SOURCES += lib/extensions/pauth/pauth_helpers.S
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(notdir $(CC)),armclang)
|
ifeq ($(notdir $(CC)),armclang)
|
||||||
BL_COMMON_SOURCES += lib/${ARCH}/armclang_printf.S
|
BL_COMMON_SOURCES += lib/${ARCH}/armclang_printf.S
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -353,8 +353,7 @@ endif
|
||||||
|
|
||||||
# Pointer Authentication sources
|
# Pointer Authentication sources
|
||||||
ifeq (${ENABLE_PAUTH}, 1)
|
ifeq (${ENABLE_PAUTH}, 1)
|
||||||
PLAT_BL_COMMON_SOURCES += plat/arm/common/aarch64/arm_pauth.c \
|
PLAT_BL_COMMON_SOURCES += plat/arm/common/aarch64/arm_pauth.c
|
||||||
lib/extensions/pauth/pauth_helpers.S
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (${SPD},spmd)
|
ifeq (${SPD},spmd)
|
||||||
|
|
|
@ -221,8 +221,7 @@ BL31_SOURCES += ${QEMU_CPU_LIBS} \
|
||||||
|
|
||||||
# Pointer Authentication sources
|
# Pointer Authentication sources
|
||||||
ifeq (${ENABLE_PAUTH}, 1)
|
ifeq (${ENABLE_PAUTH}, 1)
|
||||||
PLAT_BL_COMMON_SOURCES += plat/arm/common/aarch64/arm_pauth.c \
|
PLAT_BL_COMMON_SOURCES += plat/arm/common/aarch64/arm_pauth.c
|
||||||
lib/extensions/pauth/pauth_helpers.S
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (${SPD},spmd)
|
ifeq (${SPD},spmd)
|
||||||
|
|
Loading…
Add table
Reference in a new issue