WSL2-Linux-Kernel/arch/cris/kernel
Guenter Roeck f9f3f864b5 cris: Fix section mismatches in architecture startup code
Section mismatches can now result in build failures.
As result, cris:allnoconfig fails to build as follows.

WARNING: modpost: Found 7 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
FATAL: modpost: Section mismatches detected.
Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.

Part of the problem is that references from .text to .init.text
are not permitted, and such references are used in cris startup code.
Since references from .head.text to .init.text are permitted, move
cris startup code to a new section .head.text.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
2015-12-15 14:03:19 +01:00
..
Makefile CRIS: add STACKTRACE_SUPPORT 2015-09-05 00:56:50 +02:00
asm-offsets.c CRIS: use kbuild.h instead of defining macros in asm-offset.c 2012-12-20 12:45:40 +01:00
crisksyms.c cris: Drop reference to get_cmos_time() 2015-11-02 20:03:05 +01:00
devicetree.c CRISv32: add device tree support 2015-03-25 09:49:48 +01:00
irq.c CRISv32: add support for irqflags tracing 2015-09-05 00:56:49 +02:00
module.c module: remove mod arg from module_free, rename module_memfree(). 2015-01-20 11:38:33 +10:30
process.c cris: Use generic idle loop 2013-04-08 17:39:25 +02:00
profile.c proc: Use PDE attribute setting accessor functions 2013-05-07 15:01:11 -04:00
ptrace.c CRISv32: handle multiple signals 2015-03-25 10:53:54 +01:00
setup.c CRISv32: add device tree support 2015-03-25 09:49:48 +01:00
stacktrace.c CRIS: add STACKTRACE_SUPPORT 2015-09-05 00:56:50 +02:00
sys_cris.c Add generic sys_ipc wrapper 2010-03-12 15:52:32 -08:00
time.c cris: time: Cleanup of persistent clock stuff 2015-11-02 20:03:05 +01:00
traps.c CRIS: Use KALLSYMs if available in call stack dump 2014-12-20 00:05:36 +01:00
vmlinux.lds.S cris: Fix section mismatches in architecture startup code 2015-12-15 14:03:19 +01:00