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
..
2013-10-09 16:54:10 -07:00
2014-09-16 16:09:30 +01:00
2014-07-11 04:57:31 -07:00
2012-09-03 22:55:56 +01:00
2014-06-01 01:17:12 +01:00
2013-04-09 14:13:32 -04:00
2013-07-26 14:55:59 +01:00
2014-05-30 10:50:57 -06:00
2014-08-09 14:07:59 +01:00
2014-04-07 12:10:00 +01:00
2014-07-18 12:29:04 +01:00
2014-07-29 21:26:49 -06:00
2013-04-29 18:28:13 -07:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-08-27 15:40:13 +01:00
2013-12-29 12:32:32 +00:00
2013-12-29 12:32:34 +00:00
2013-08-20 00:11:50 +01:00
2014-07-18 12:29:04 +01:00
2014-04-23 01:24:31 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-04-23 01:24:14 +01:00
2014-04-07 14:55:46 -07:00
2014-08-07 11:35:30 -07:00
2014-01-28 14:06:25 +00:00
2014-09-02 20:55:25 +01:00
2014-06-06 16:08:15 -07:00
2014-08-05 10:27:13 +01:00
2014-08-02 15:20:30 +01:00
2014-03-18 16:39:40 -04:00
2014-04-01 16:45:19 +03:00
2014-07-02 12:48:36 +01:00
2014-04-01 16:48:26 +03:00
2014-09-30 16:55:24 +01:00
2014-09-30 16:55:24 +01:00
2014-04-01 16:45:19 +03:00
2014-04-01 16:45:19 +03:00
2014-03-18 16:39:40 -04:00
2014-04-22 22:23:58 +01:00
2014-06-05 12:35:52 +01:00
2014-08-27 15:40:11 +01:00
2014-09-16 16:09:33 +01:00
2014-07-02 15:48:25 +01:00
2014-07-02 15:48:26 +01:00
2014-07-02 15:48:25 +01:00
2014-08-05 10:27:25 +01:00
2013-09-30 16:41:50 +01:00
2014-04-25 12:07:34 +01:00
2014-07-02 12:48:36 +01:00
2014-03-18 16:39:40 -04:00
2014-03-18 16:39:40 -04:00
2014-03-18 16:39:40 -04:00
2014-04-01 16:45:19 +03:00
2014-03-18 16:39:40 -04:00
2014-09-16 16:09:32 +01:00
2014-05-15 10:16:30 -04:00
2014-05-15 10:16:00 -04:00
2014-06-29 10:29:35 +01:00
2014-07-18 12:29:04 +01:00
2013-03-19 11:43:46 +00:00
2014-07-18 12:29:51 +01:00
2014-03-18 16:39:40 -04:00
2013-11-30 22:21:00 +00:00
2014-07-18 12:29:04 +01:00
2014-08-02 08:51:53 +01:00
2014-07-24 14:40:26 +01:00
2014-03-19 14:10:24 +01:00
2014-08-07 20:40:41 -04:00
2014-05-30 01:12:32 +01:00
2013-07-30 09:00:43 -04:00
2014-09-12 17:38:58 +01:00
2012-11-28 22:13:54 -05:00
2014-04-22 08:23:58 -04:00
2013-12-11 09:53:14 +00:00
2014-09-16 16:09:32 +01:00
2014-07-18 12:29:14 +01:00
2014-07-02 08:33:48 +02:00
2014-09-16 16:09:32 +01:00
2014-07-18 12:29:16 +01:00
2014-03-18 16:39:40 -04:00
2014-05-25 23:48:45 +01:00
2014-03-18 16:39:40 -04:00
2013-09-02 13:49:29 +01:00
2014-07-18 12:29:23 +01:00