Merge branch 'modversions' (modversions fixes for powerpc from Ard)
Merge kcrctab entry fixes from Ard Biesheuvel: "This is a followup to [0] 'modversions: redefine kcrctab entries as relative CRC pointers', but since relative CRC pointers do not work in modules, and are actually only needed by powerpc with CONFIG_RELOCATABLE=y, I have made it a Kconfig selectable feature instead. First it introduces the MODULE_REL_CRCS Kconfig symbol, and adds the kbuild handling of it, i.e., modpost, genksyms and kallsyms. Then it switches all architectures to 32-bit CRC entries in kcrctab, where all architectures except powerpc with CONFIG_RELOCATABLE=y use absolute ELF symbol references as before" [0] http://marc.info/?l=linux-arch&m=148493613415294&w=2 * emailed patches from Ard Biesheuvel: module: unify absolute krctab definitions for 32-bit and 64-bit modversions: treat symbol CRCs as 32 bit quantities kbuild: modversions: add infrastructure for emitting relative CRCs
Showing
- arch/powerpc/Kconfig 1 addition, 0 deletionsarch/powerpc/Kconfig
- arch/powerpc/include/asm/module.h 0 additions, 4 deletionsarch/powerpc/include/asm/module.h
- arch/powerpc/kernel/module_64.c 0 additions, 8 deletionsarch/powerpc/kernel/module_64.c
- include/asm-generic/export.h 6 additions, 5 deletionsinclude/asm-generic/export.h
- include/linux/export.h 12 additions, 5 deletionsinclude/linux/export.h
- include/linux/module.h 7 additions, 7 deletionsinclude/linux/module.h
- init/Kconfig 4 additions, 0 deletionsinit/Kconfig
- kernel/module.c 25 additions, 28 deletionskernel/module.c
- scripts/Makefile.build 2 additions, 0 deletionsscripts/Makefile.build
- scripts/genksyms/genksyms.c 14 additions, 5 deletionsscripts/genksyms/genksyms.c
- scripts/kallsyms.c 12 additions, 0 deletionsscripts/kallsyms.c
- scripts/mod/modpost.c 10 additions, 0 deletionsscripts/mod/modpost.c
Loading
Please register or sign in to comment