OpenCloudOS-Kernel/arch/cris/arch-v32/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: remove SMP code 2015-03-25 10:55:10 +01:00
cache.c [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
cacheflush.S CRIS: Add debug for assembler functions 2010-08-04 12:59:43 +02:00
crisksyms.c CRIS v32: remove old GPIO and LEDs code 2015-11-02 20:03:05 +01:00
debugport.c CRIS: Drop code related to obsolete or unused kconfigs 2015-11-02 20:03:05 +01:00
entry.S CRISv32: add support for irqflags tracing 2015-09-05 00:56:49 +02:00
fasttimer.c cris fasttimer: remove use of seq_printf return value 2015-04-15 16:35:25 -07:00
head.S cris: Fix section mismatches in architecture startup code 2015-12-15 14:03:19 +01:00
irq.c CRIS: Drop code related to obsolete or unused kconfigs 2015-11-02 20:03:05 +01:00
kgdb.c cris: kgdb: use native hex2bin 2015-11-02 20:03:04 +01:00
kgdb_asm.S CRIS: v32: Correct path for intr_vect.h 2010-08-04 13:00:53 +02:00
process.c CRISv32: annotate irq enable in idle loop 2015-09-05 00:56:49 +02:00
ptrace.c cris:removed the unused variable 2012-04-03 13:09:18 +02:00
setup.c CRIS: Drop code related to obsolete or unused kconfigs 2015-11-02 20:03:05 +01:00
signal.c CRIS: UAPI: fix ptrace.h 2015-09-05 00:33:25 +02:00
time.c cris/time: Migrate to new 'set-state' interface 2015-08-10 11:41:08 +02:00
traps.c CRIS: Minor formatting fix in traps.c 2010-08-04 13:02:15 +02:00