2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/arch/s390/purgatory
Sami Tolvanen 173767c218 s390/purgatory: Use -D__DISABLE_EXPORTS
The object files in purgatory do not export symbols, so disable exports
for all the object files, not only sha256.o, with -D__DISABLE_EXPORTS.

This fixes a build failure with CONFIG_GENDWARFKSYMS, where we would
otherwise attempt to calculate symbol versions for purgatory objects and
fail because they're not built with debugging information:

error: gendwarfksyms: process_module: dwarf_get_units failed: no debugging information?
make[5]: *** [../scripts/Makefile.build:207: arch/s390/purgatory/string.o] Error 1
make[5]: *** Deleting file 'arch/s390/purgatory/string.o'

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202502120752.U3fOKScQ-lkp@intel.com/
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://lore.kernel.org/r/20250213211614.3537605-2-samitolvanen@google.com
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2025-02-18 18:49:24 +01:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
head.S s390: Fix various typos 2024-10-25 16:03:23 +02:00
kexec-purgatory.S s390/purgatory: use SYM* macros instead of ENTRY(), etc. 2023-04-19 17:24:18 +02:00
Makefile s390/purgatory: Use -D__DISABLE_EXPORTS 2025-02-18 18:49:24 +01:00
purgatory.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
purgatory.lds.S s390/purgatory: Reduce purgatory size 2019-04-29 10:43:53 +02:00
string.c s390/purgatory: do not build purgatory with kcov, kasan and friends 2019-12-18 23:29:26 +01:00