mbox series

[-next,0/3] arm64: Mark constants in .S files as data

Message ID 20220922130452.233323-1-chenzhongjin@huawei.com (mailing list archive)
Headers show
Series arm64: Mark constants in .S files as data | expand

Message

Chen Zhongjin Sept. 22, 2022, 1:04 p.m. UTC
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(-)