linux/arch/cris/arch-v32
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
..
drivers cris: re-use helpers to dump data in hex format 2015-11-02 20:03:05 +01:00
kernel cris: Fix section mismatches in architecture startup code 2015-12-15 14:03:19 +01:00
lib CRIS: remove SMP code 2015-03-25 10:55:10 +01:00
mach-a3 CRIS v32: remove old GPIO and LEDs code 2015-11-02 20:03:05 +01:00
mach-fs CRIS: Drop code related to obsolete or unused kconfigs 2015-11-02 20:03:05 +01:00
mm cris: don't use module_init for non-modular core intmem.c code 2015-06-16 14:12:30 -04:00
Kconfig CRIS v32: remove old GPIO and LEDs code 2015-11-02 20:03:05 +01:00
output_arch.ld