Jon Medhurst ad684dce87 ARM: 8179/1: kprobes-test: Fix compile error "bad immediate value for offset"
When compiling kprobes-test-arm.c the following error has been observed

/tmp/ccoT403o.s:21439: Error: bad immediate value for offset (4168)

This is caused by the compiler spilling it's literal pool too far away
from the site which is trying to reference it with a PC relative load.
This arises because the compiler is underestimating the size of the
inline assembler code present, which apparently it approximates as 4
bytes per line or instruction.

We fix this problem by moving the operations which generate more than
4 bytes out of the text section. Specifically, moving the .ascii
directives to the .rodata section.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-09-30 16:55:24 +01:00
..
2014-06-01 01:17:12 +01:00
2014-08-09 14:07:59 +01:00
2012-03-28 18:30:01 +01:00
2012-03-24 09:38:56 +00:00
2014-01-28 14:06:25 +00:00
2014-07-02 15:48:25 +01:00
2014-03-18 16:39:40 -04:00
2014-08-07 20:40:41 -04:00
2014-07-02 08:33:48 +02:00
2014-03-18 16:39:40 -04:00
2014-03-18 16:39:40 -04:00