David Howells
786d35d45c
Make most arch asm/module.h files use asm-generic/module.h
...
Use the mapping of Elf_[SPE]hdr, Elf_Addr, Elf_Sym, Elf_Dyn, Elf_Rel/Rela,
ELF_R_TYPE() and ELF_R_SYM() to either the 32-bit version or the 64-bit version
into asm-generic/module.h for all arches bar MIPS.
Also, use the generic definition mod_arch_specific where possible.
To this end, I've defined three new config bools:
(*) HAVE_MOD_ARCH_SPECIFIC
Arches define this if they don't want to use the empty generic
mod_arch_specific struct.
(*) MODULES_USE_ELF_RELA
Arches define this if their modules can contain RELA records. This causes
the Elf_Rela mapping to be emitted and allows apply_relocate_add() to be
defined by the arch rather than have the core emit an error message.
(*) MODULES_USE_ELF_REL
Arches define this if their modules can contain REL records. This causes
the Elf_Rel mapping to be emitted and allows apply_relocate() to be
defined by the arch rather than have the core emit an error message.
Note that it is possible to allow both REL and RELA records: m68k and mips are
two arches that do this.
With this, some arch asm/module.h files can be deleted entirely and replaced
with a generic-y marker in the arch Kbuild file.
Additionally, I have removed the bits from m32r and score that handle the
unsupported type of relocation record as that's now handled centrally.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-09-28 14:31:03 +09:30
..
2012-08-01 16:41:07 -07:00
2012-08-02 13:51:46 -04:00
2012-07-20 12:31:05 +02:00
2012-07-30 18:16:01 -07:00
2012-07-30 18:15:23 -07:00
2012-07-31 18:08:25 -07:00
2012-08-16 20:24:33 +01:00
2012-08-09 15:16:41 +02:00
2012-07-27 16:49:22 -04:00
2012-09-15 23:22:04 +02:00
2012-09-07 12:55:59 -04:00
2012-09-04 13:58:10 -04:00
2012-08-10 11:53:11 +02:00
2012-07-31 01:02:51 +04:00
2012-08-17 11:09:58 +02:00
2012-07-31 18:08:25 -07:00
2012-07-31 18:08:25 -07:00
2012-07-22 19:32:00 +01:00
2012-07-26 12:59:53 -07:00
2012-09-07 11:43:49 -04:00
2012-07-26 10:23:47 -07:00
2012-08-03 00:15:53 -04:00
2012-07-30 17:25:21 -07:00
2012-07-20 09:07:37 +01:00
2012-06-29 11:38:17 -04:00
2012-08-28 10:14:01 -07:00
2012-03-07 17:06:08 +11:00
2012-07-29 21:43:08 +04:00
2012-08-04 01:24:44 +04:00
2012-07-31 18:42:47 -07:00
2012-08-09 15:20:23 +02:00
2012-08-01 12:24:18 +02:00
2012-08-07 10:10:57 +02:00
2012-07-17 21:37:27 +02:00
2012-07-31 18:42:43 -07:00
2012-07-30 17:25:11 -07:00
2012-08-21 16:45:03 -07:00
2012-07-30 17:25:21 -07:00
2012-09-17 15:00:38 -07:00
2012-09-17 15:00:38 -07:00
2011-01-05 14:15:50 +01:00
2012-02-02 15:30:47 -08:00
2011-03-31 11:26:23 -03:00
2012-07-19 08:34:37 -07:00
2012-07-17 12:39:26 -07:00
2012-08-23 17:16:42 +02:00
2012-07-27 09:29:42 +09:30
2012-07-24 13:53:22 +02:00
2012-03-29 19:52:48 +08:00
2012-09-18 11:23:51 -07:00
2012-07-27 15:08:16 +01:00
2012-07-26 11:25:33 -07:00
2012-07-27 15:08:16 +01:00
2012-07-30 12:25:47 +02:00
2012-07-30 12:25:46 +02:00
2012-07-19 10:39:00 +02:00
2011-06-27 09:11:02 -04:00
2012-08-14 09:58:25 -07:00
2012-07-17 21:37:27 +02:00
2011-03-14 19:12:20 -04:00
2012-07-22 23:57:58 +04:00
2012-07-30 09:32:39 -07:00
2012-08-04 01:24:44 +04:00
2012-07-31 17:02:05 +02:00
2012-07-18 16:09:40 +02:00
2009-10-08 12:16:35 -07:00
2012-07-24 00:01:30 -07:00
2012-08-01 09:02:41 -07:00
2012-07-31 18:42:46 -07:00
2012-07-26 13:54:58 +02:00
2012-07-31 18:42:47 -07:00
2006-04-26 12:56:16 +01:00
2012-07-31 18:42:41 -07:00
2012-07-31 18:42:50 -07:00
2012-09-12 17:52:44 +02:00
2012-03-26 21:47:19 +02:00
2012-07-30 19:03:41 -07:00
2012-05-17 19:06:13 -04:00
2007-04-25 22:25:31 -07:00
2012-07-20 11:07:00 -07:00
2012-08-14 14:33:32 -07:00
2012-07-18 09:36:12 -07:00
2012-07-26 13:08:01 -07:00
2012-07-27 09:29:42 +09:30
2012-07-19 10:40:42 -04:00
2012-08-03 16:04:43 +02:00
2012-05-31 17:49:31 -07:00
2012-08-06 13:33:21 -07:00
2012-07-25 12:46:38 +02:00
2012-07-19 10:38:32 -04:00
2012-08-05 19:04:57 -04:00
2012-07-31 17:09:12 +02:00
2012-08-07 11:48:33 -06:00
2011-02-17 11:12:40 -08:00
2012-07-31 08:16:42 -05:00
2012-07-30 17:25:14 -07:00
2012-09-01 18:58:09 -07:00
2012-07-30 15:08:46 +10:00
2012-07-21 10:34:00 -07:00
2012-09-06 10:13:58 -07:00
2012-08-22 10:24:41 -04:00
2012-07-22 10:15:28 -07:00
2012-08-15 15:54:01 +02:00
2012-07-24 12:01:20 -07:00
2012-07-24 07:52:34 +08:00
2012-07-25 15:58:48 -04:00
2012-07-23 13:54:52 +01:00
2012-07-23 13:54:52 +01:00
2012-07-31 18:42:48 -07:00
2012-09-17 15:00:37 -07:00
2012-07-31 18:42:40 -07:00
2012-07-19 15:51:36 -04:00
2012-09-13 14:58:54 -04:00
2012-07-31 18:42:45 -07:00
2012-08-01 10:26:23 -07:00
2012-07-31 18:42:46 -07:00
2012-09-28 14:31:03 +09:30
2012-08-15 13:58:09 +00:00
2011-05-09 11:40:38 +10:00
2012-07-29 21:24:13 +04:00
2012-07-22 12:44:01 -07:00
2012-08-20 02:37:29 -07:00
2012-08-14 14:33:32 -07:00
2012-07-30 19:06:52 -04:00
2012-09-04 14:52:42 -04:00
2012-07-30 19:06:52 -04:00
2012-08-02 17:41:18 -04:00
2012-09-06 11:11:53 -04:00
2012-01-31 18:20:25 -05:00
2012-07-30 17:25:19 -07:00
2012-08-20 02:16:00 -07:00
2012-07-31 23:27:30 -04:00
2012-07-31 12:06:20 +01:00
2012-07-31 18:42:45 -07:00
2012-07-31 18:42:43 -07:00
2012-07-31 18:42:45 -07:00
2012-07-31 18:42:45 -07:00
2012-07-31 18:42:47 -07:00
2012-08-30 13:14:48 -04:00
2012-07-26 14:18:18 -07:00
2012-07-23 12:17:00 +02:00
2012-09-04 17:29:53 +02:00
2012-08-01 10:26:23 -07:00
2012-07-19 00:02:30 +02:00
2012-07-26 13:36:43 -07:00
2012-07-30 17:25:14 -07:00
2012-07-17 16:48:09 -07:00
2012-07-23 13:23:52 +02:00
2012-06-15 12:56:57 +02:00
2012-07-22 23:58:19 +04:00
2012-07-22 23:58:19 +04:00
2012-07-19 10:38:32 -04:00
2012-07-22 19:26:07 +01:00
2012-07-30 12:25:44 +02:00
2012-09-16 12:29:43 -07:00
2012-08-10 19:58:07 +10:00
2012-07-26 13:37:02 -07:00
2012-07-20 11:28:20 +05:30
2012-08-01 13:48:52 +09:00
2012-07-30 17:25:20 -07:00
2012-07-31 18:42:43 -07:00
2012-07-31 18:42:46 -07:00
2012-07-19 11:02:03 -07:00
2012-07-19 11:02:03 -07:00
2010-08-09 16:48:44 -04:00
2012-08-21 16:45:03 -07:00
2012-07-31 18:42:47 -07:00
2012-07-22 23:57:56 +04:00
2012-07-23 00:58:46 -07:00
2012-07-31 18:08:25 -07:00
2012-09-01 10:24:48 -07:00
2012-07-31 17:09:12 +02:00
2012-07-26 11:46:58 +02:00
2012-07-22 23:57:55 +04:00
2012-07-22 23:57:56 +04:00
2012-07-20 08:59:00 +01:00
2012-07-31 08:16:24 -06:00
2012-07-30 20:23:11 -03:00
2012-07-30 13:30:52 +09:30
2012-07-30 13:30:49 +09:30
2012-07-20 08:58:58 +01:00
2012-07-20 08:59:03 +01:00
2012-07-31 18:42:46 -07:00
2012-07-30 12:25:45 +02:00
2012-07-31 18:42:50 -07:00
2012-08-04 12:15:37 +04:00