mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next 0/3] arm64: Mark constants in .S files as data
@ 2022-09-22 13:04 Chen Zhongjin
  2022-09-22 13:04 ` [PATCH -next 1/3] arm64: efi-header: Mark efi header " Chen Zhongjin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Chen Zhongjin @ 2022-09-22 13:04 UTC (permalink / raw)
  To: linux-kernel, linux-crypto, linux-arm-kernel
  Cc: herbert, davem, catalin.marinas, will, broonie, ardb, maz,
	mark.rutland, anshuman.khandual, chenzhongjin

There are some constant numbers insdide .S files which is mixed with
text sections. When tools are reading the ELF files they cannot
distinguish these constants out of normal instructions.

Mark these constants as data symbols by wrapping then with SYM_DATA
macro.

Chen Zhongjin (3):
  arm64: efi-header: Mark efi header as data
  arm64: head: Mark constants as data
  arm64: crypto: Mark constant as data

 arch/arm64/crypto/aes-neonbs-core.S | 14 +++++++-------
 arch/arm64/crypto/poly1305-armv8.pl |  4 ++++
 arch/arm64/crypto/polyval-ce-core.S |  7 +++----
 arch/arm64/crypto/sha512-armv8.pl   | 24 ++++++++++++++----------
 arch/arm64/kernel/efi-header.S      |  2 ++
 arch/arm64/kernel/head.S            |  6 ++++--
 6 files changed, 34 insertions(+), 23 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-22 14:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 13:04 [PATCH -next 0/3] arm64: Mark constants in .S files as data Chen Zhongjin
2022-09-22 13:04 ` [PATCH -next 1/3] arm64: efi-header: Mark efi header " Chen Zhongjin
2022-09-22 13:13   ` Ard Biesheuvel
2022-09-22 14:25     ` Chen Zhongjin
2022-09-22 13:04 ` [PATCH -next 2/3] arm64: head: Mark constants " Chen Zhongjin
2022-09-22 13:17   ` Ard Biesheuvel
2022-09-22 13:04 ` [PATCH -next 3/3] arm64: crypto: Mark constant " Chen Zhongjin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®