On Wed, Jul 18, 2012 at 01:20:35PM +0000, Arnd Bergmann wrote: > > (*) MODULES_USE_RELA_ONLY > > > > Arches define this if their modules will only contain RELA records (and > > not REL records). This causes the Elf_Rel mapping not to be emitted. > > > > (*) MODULES_USE_REL_ONLY > > > > Arches define this if their modules will only contain REL records (and > > not RELA records). This causes the Elf_Rela mapping not to be emitted. > > I believe all architectures have either one or the other, but never both > or neither of the two, right? If so, we only need one symbol here. How sweet life would be without the SGI designed ELF NABI. For the purposes of kernel modules that means 64-bit MIPS kernels. The 64-bit ELF spec [1] allows both REL and RELA. I believe that GNU tools only emit rela relocations and in the hope that things are going to stay like this I'd like 64-bit MIPS to be treated as RELA-only. However we're in the hand of the tools guy here - they always could make use of the rope provided. 32-bit MIPS uses REL only. Ralf [1] https://www.linux-mips.org/pub/linux/mips/doc/ABI/elf64-2.4.pdf -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html