aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod
AgeCommit message (Expand)AuthorFilesLines
2024-03-28modpost: do not make find_tosym() return NULLMasahiro Yamada1-2/+5
2024-03-21Merge tag 'kbuild-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-1/+3
2024-03-19modpost: fix null pointer dereferenceMax Kellermann1-1/+3
2024-03-13Merge tag 'tag-chrome-platform-firmware-for-v6.9' of git://git.kernel.org/pub...Linus Torvalds2-0/+13
2024-03-11Merge tag 'x86-core-2024-03-11' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2024-02-17firmware: coreboot: Generate aliases for coreboot modulesNícolas F. R. A. Prado2-0/+13
2024-02-15modpost: trim leading spaces when processing source files listRadek Krejci1-1/+6
2024-02-14Merge branch 'x86/bugs' into x86/core, to pick up pending changes before depe...Ingo Molnar1-1/+1
2024-01-31modpost: avoid using the alias attributeMasahiro Yamada2-16/+2
2024-01-28modpost: Add '.ltext' and '.ltext.*' to TEXT_SECTIONSNathan Chancellor1-1/+2
2024-01-19Merge tag 'loongarch-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ch...Linus Torvalds1-2/+17
2024-01-17modpost: Ignore relaxation and alignment marker relocs on LoongArchWANG Xuerui1-2/+17
2024-01-10x86/bugs: Rename CONFIG_RETPOLINE => CONFIG_MITIGATION_RETPOLINEBreno Leitao1-1/+1
2023-12-10modpost: remove unreachable code after fatal()Masahiro Yamada1-6/+3
2023-12-10modpost: remove unneeded initializer in section_rel()Masahiro Yamada1-1/+1
2023-12-10modpost: inform compilers that fatal() never returnsMasahiro Yamada2-1/+7
2023-12-10modpost: move __attribute__((format(printf, 2, 3))) to modpost.hMasahiro Yamada2-3/+3
2023-11-16modpost: fix section mismatch message for RELAMasahiro Yamada1-2/+4
2023-11-04Merge tag 'kbuild-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds5-174/+294
2023-11-03Merge tag 'staging-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-0/+12
2023-11-03Merge tag 'char-misc-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-0/+12
2023-11-01module: Make is_valid_name() return boolTiezhu Yang1-2/+2
2023-10-28modpost: squash ALL_{INIT,EXIT}_TEXT_SECTIONS to ALL_TEXT_SECTIONSMasahiro Yamada1-6/+1
2023-10-28modpost: merge sectioncheck table entries regarding init/exit sectionsMasahiro Yamada1-15/+3
2023-10-28modpost: use ALL_INIT_SECTIONS for the section check from DATA_SECTIONSMasahiro Yamada1-1/+1
2023-10-28modpost: disallow the combination of EXPORT_SYMBOL and __meminit*Masahiro Yamada1-1/+1
2023-10-28modpost: remove EXIT_SECTIONS macroMasahiro Yamada1-5/+3
2023-10-28modpost: remove MEM_INIT_SECTIONS macroMasahiro Yamada1-2/+1
2023-10-28modpost: remove more symbol patterns from the section check whitelistMasahiro Yamada1-7/+1
2023-10-28modpost: disallow *driver to reference .meminit* sectionsMasahiro Yamada1-6/+0
2023-10-28linux/init: remove __memexit* annotationsMasahiro Yamada1-12/+3
2023-10-28modpost: remove ALL_EXIT_DATA_SECTIONS macroMasahiro Yamada1-2/+0
2023-10-27cdx: add sysfs for subsystem, class and revisionAbhijit Gangurde2-0/+12
2023-10-21staging: vc04_services: Support module autoloading using MODULE_DEVICE_TABLEUmang Jain2-0/+12
2023-10-18modpost: factor out the common boilerplate of section_rel(a)Masahiro Yamada1-24/+26
2023-10-18modpost: refactor check_sec_ref()Masahiro Yamada1-6/+7
2023-10-18modpost: define TO_NATIVE() using bswap_* functionsMasahiro Yamada2-22/+16
2023-10-18modpost: fix ishtp MODULE_DEVICE_TABLE built on big-endian hostMasahiro Yamada1-2/+2
2023-10-18modpost: fix tee MODULE_DEVICE_TABLE built on big-endian hostMasahiro Yamada1-5/+5
2023-10-03modpost: Optimize symbol search from linear to binary searchJack Brennen4-66/+232
2023-10-01modpost: Don't let "driver"s reference .exit.*Uwe Kleine-König1-2/+13
2023-10-01modpost: add missing else to the "of" checkMauricio Faria de Oliveira1-1/+1
2023-09-13Merge tag 'parisc-for-6.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+9
2023-09-12linux/export: fix reference to exported functions for parisc64Masahiro Yamada1-0/+9
2023-09-01modpost: Skip .llvm.call-graph-profile section checkDenis Nikitin1-0/+1
2023-07-31modpost: remove ElF_Rela variables from for-loop in section_rel(a)Masahiro Yamada1-14/+11
2023-07-31modpost: clean up MIPS64 little endian relocation codeMasahiro Yamada2-55/+43
2023-07-31modpost: pass r_type to addend_*_rel()Masahiro Yamada1-13/+11
2023-07-31modpost: change return type of addend_*_rel()Masahiro Yamada1-39/+24
2023-07-25linux/export.h: make <linux/export.h> independent of CONFIG_MODULESMasahiro Yamada1-2/+6
2023-07-01Merge tag 'kbuild-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds2-418/+373
2023-06-30Merge tag 'vfio-v6.5-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds2-1/+17
2023-06-29modpost: define more R_ARM_* for old distributionsMasahiro Yamada1-0/+17
2023-06-25modpost: continue even with unknown relocation typeMasahiro Yamada1-10/+9
2023-06-25modpost: factor out Elf_Sym pointer calculation to section_rel()Masahiro Yamada1-4/+5
2023-06-25modpost: factor out inst location calculation to section_rel()Masahiro Yamada1-16/+12
2023-06-24script: modpost: emit a warning when the description is missingVincenzo Palazzo1-0/+2
2023-06-22modpost: show offset from symbol for section mismatch warningsMasahiro Yamada1-2/+2
2023-06-22modpost: merge two similar section mismatch warningsMasahiro Yamada1-15/+3
2023-06-22kbuild: implement CONFIG_TRIM_UNUSED_KSYMS without recursionMasahiro Yamada1-5/+52
2023-06-22modpost: use null string instead of NULL pointer for default namespaceMasahiro Yamada1-6/+11
2023-06-22modpost: squash sym_update_namespace() into sym_add_exported()Masahiro Yamada1-23/+4
2023-06-22modpost: check static EXPORT_SYMBOL* by modpost againMasahiro Yamada1-0/+7
2023-06-22kbuild: generate KSYMTAB entries by modpostMasahiro Yamada2-33/+74
2023-06-16vfio/cdx: add support for CDX busNipun Gupta2-1/+17
2023-06-16x86/unwind/orc: Add ELF section with ORC version identifierOmar Sandoval1-0/+5
2023-06-15modpost: pass struct module pointer to check_section_mismatch()Masahiro Yamada1-11/+11
2023-06-08modpost: fix off by one in is_executable_section()Dan Carpenter1-1/+1
2023-06-07modpost: propagate W=1 build option to modpostMasahiro Yamada1-1/+6
2023-06-04modpost: detect section mismatch for R_ARM_REL32Masahiro Yamada1-0/+1
2023-06-04modpost: fix section_mismatch message for R_ARM_THM_{CALL,JUMP24,JUMP19}Masahiro Yamada1-6/+47
2023-06-04modpost: detect section mismatch for R_ARM_THM_{MOVW_ABS_NC,MOVT_ABS}Masahiro Yamada1-5/+26
2023-06-02modpost: refactor find_fromsym() and find_tosym()Masahiro Yamada1-56/+33
2023-06-02modpost: detect section mismatch for R_ARM_{MOVW_ABS_NC,MOVT_ABS}Masahiro Yamada1-2/+9
2023-06-02modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24}Masahiro Yamada1-0/+12
2023-06-02modpost: fix section mismatch message for R_ARM_ABS32Masahiro Yamada1-3/+9
2023-05-28modpost: remove *_sections[] arraysMasahiro Yamada1-27/+9
2023-05-28modpost: merge bad_tosec=ALL_EXIT_SECTIONS entries in sectioncheck tableMasahiro Yamada1-11/+4
2023-05-28modpost: merge fromsec=DATA_SECTIONS entries in sectioncheck tableMasahiro Yamada1-6/+1
2023-05-28modpost: remove is_shndx_special() check from section_rel(a)Masahiro Yamada2-17/+4
2023-05-28modpost: replace r->r_offset, r->r_addend with faddr, taddrMasahiro Yamada1-15/+19
2023-05-28modpost: unify 'sym' and 'to' in default_mismatch_handler()Masahiro Yamada1-5/+4
2023-05-28modpost: remove unused argument from secref_whitelist()Masahiro Yamada1-3/+2
2023-05-28Revert "modpost: skip ELF local symbols during section mismatch check"Masahiro Yamada1-12/+0
2023-05-22modpost: rename find_elf_symbol() and find_elf_symbol2()Masahiro Yamada1-6/+6
2023-05-22modpost: pass section index to find_elf_symbol2()Masahiro Yamada1-19/+15
2023-05-22modpost: pass 'tosec' down to default_mismatch_handler()Masahiro Yamada1-4/+3
2023-05-22modpost: squash extable_mismatch_handler() into default_mismatch_handler()Masahiro Yamada1-58/+26
2023-05-22modpost: clean up is_executable_section()Masahiro Yamada1-8/+8
2023-05-22modpost: squash report_sec_mismatch() into default_mismatch_handler()Masahiro Yamada1-35/+20
2023-05-22modpost: squash report_extable_warnings() into extable_mismatch_handler()Masahiro Yamada1-26/+14
2023-05-22modpost: remove get_prettyname()Masahiro Yamada1-25/+2
2023-05-22modpost: remove fromsym info in __ex_table section mismatch warningMasahiro Yamada1-9/+2
2023-05-22modpost: remove broken calculation of exception_table_entry sizeMasahiro Yamada1-57/+3
2023-05-22modpost: error out if addend_*_rel() is not implemented for REL archMasahiro Yamada1-0/+2
2023-04-27Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-9/+3
2023-04-13module: Ignore L0 and rename is_arm_mapping_symbol()Tiezhu Yang1-2/+2
2023-04-13module: Move is_arm_mapping_symbol() to module_symbol.hTiezhu Yang1-9/+1
2023-04-13module: Sync code of is_arm_mapping_symbol()Tiezhu Yang1-0/+2
2023-04-10Merge 6.3-rc6 into char-misc-nextGreg Kroah-Hartman1-1/+1
2023-03-29cdx: add the cdx bus driverNipun Gupta2-0/+16
2023-03-23modpost: Fix processing of CRCs on 32-bit build machinesBen Hutchings1-1/+1
2022-12-19Merge tag 'kbuild-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds3-31/+26
2022-12-14modpost: Include '.text.*' in TEXT_SECTIONSNathan Chancellor1-2/+2
2022-12-14kbuild: change module.order to list *.o instead of *.koMasahiro Yamada1-7/+4
2022-12-14LoongArch: Switch to relative exception tablesYouling Tang1-0/+13
2022-11-27modpost: Mark uuid_le type to be suitable only for MEIAndy Shevchenko1-4/+8
2022-11-21modpost: fix array_size.cocci warningKaiLong Wang1-2/+2
2022-11-21modpost: Join broken long printed messagesGeert Uytterhoeven2-16/+10
2022-08-21modpost: fix module versioning when a symbol lacks valid CRCMasahiro Yamada1-3/+1
2022-08-10Merge tag 'kbuild-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds3-250/+68
2022-08-04modpost: remove .symbol_white_list field entirelyMasahiro Yamada1-39/+16
2022-08-04modpost: remove unneeded .symbol_white_list initializersMasahiro Yamada1-8/+0
2022-08-04modpost: add PATTERNS() helper macroMasahiro Yamada1-0/+7
2022-08-04modpost: shorten warning messages in report_sec_mismatch()Masahiro Yamada1-170/+9
2022-08-04Revert "Kbuild, lto, workaround: Don't warn for initcall_reference in modpost"Masahiro Yamada1-3/+0
2022-08-03modpost: use more reliable way to get fromsec in section_rel(a)()Masahiro Yamada1-4/+2
2022-08-03modpost: add array range check to sec_name()Masahiro Yamada1-1/+9
2022-08-03modpost: refactor get_secindex()Masahiro Yamada1-12/+18
2022-08-03modpost: remove unused Elf_Sword macroMasahiro Yamada1-2/+0
2022-08-02Merge tag 'linux-kselftest-kunit-5.20-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-0/+3
2022-07-27modpost: use sym_get_data() to get module device_table dataMasahiro Yamada3-4/+3
2022-07-27modpost: drop executable ELF supportMasahiro Yamada1-6/+4
2022-07-27Revert "scripts/mod/modpost.c: permit '.cranges' secton for sh64 architecture."Masahiro Yamada1-1/+0
2022-07-11module: panic: Taint the kernel when selftest modules loadDavid Gow1-0/+3
2022-06-20modpost: fix section mismatch check for exported init/exit sectionsMasahiro Yamada1-1/+1
2022-06-05Merge tag 'kbuild-v5.19-3' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds3-126/+40
2022-06-05modpost: use fnmatch() to simplify match()Masahiro Yamada1-61/+13
2022-06-05modpost: simplify mod->name allocationMasahiro Yamada1-13/+12
2022-06-03Merge tag 'char-misc-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+10
2022-06-01kbuild: check static EXPORT_SYMBOL* by script instead of modpostMasahiro Yamada1-27/+1
2022-05-29kbuild: do not create *.prelink.o for Clang LTO or IBTMasahiro Yamada1-7/+0
2022-05-27modpost: squash if...else-if in find_elf_symbol2()Masahiro Yamada1-7/+3
2022-05-27modpost: reuse ARRAY_SIZE() macro for section_mismatch()Masahiro Yamada3-6/+6
2022-05-27modpost: remove the unused argument of check_sec_ref()Masahiro Yamada1-3/+2
2022-05-27modpost: fix undefined behavior of is_arm_mapping_symbol()Masahiro Yamada1-1/+2
2022-05-27modpost: fix removing numeric suffixesAlexander Lobakin1-1/+1
2022-05-24kbuild: link symbol CRCs at final link, removing CONFIG_MODULE_REL_CRCSMasahiro Yamada1-4/+24
2022-05-24modpost: extract symbol versions from *.cmd filesMasahiro Yamada1-48/+131
2022-05-24modpost: add sym_find_with_module() helperMasahiro Yamada1-2/+7
2022-05-11modpost: change the license of EXPORT_SYMBOL to bool typeMasahiro Yamada1-78/+30
2022-05-11modpost: remove left-over cross_compile declarationMasahiro Yamada1-1/+0
2022-05-11modpost: move *.mod.c generation to write_mod_c_files()Masahiro Yamada1-25/+31
2022-05-11modpost: merge add_{intree_flag,retpoline,staging_flag} to add_headerMasahiro Yamada1-18/+7
2022-05-08modpost: split new_symbol() to symbol allocation and hash table additionMasahiro Yamada1-10/+8
2022-05-08modpost: make sym_add_exported() always allocate a new symbolMasahiro Yamada1-6/+4
2022-05-08modpost: make multiple export errorMasahiro Yamada1-3/+3
2022-05-08modpost: dump Module.symvers in the same order of modules.orderMasahiro Yamada2-16/+14
2022-05-08modpost: traverse the namespace_list in orderMasahiro Yamada2-20/+17
2022-05-08modpost: use doubly linked list for dump_listsMasahiro Yamada1-14/+10
2022-05-08modpost: traverse unresolved symbols in orderMasahiro Yamada2-7/+15
2022-05-08modpost: add sym_add_unresolved() helperMasahiro Yamada1-8/+11
2022-05-08modpost: traverse modules in orderMasahiro Yamada2-10/+10
2022-05-08modpost: import include/linux/list.hMasahiro Yamada1-0/+213
2022-05-08modpost: change mod->gpl_compatible to bool typeMasahiro Yamada2-7/+12
2022-05-08modpost: use bool type where appropriateMasahiro Yamada3-38/+37
2022-05-08modpost: move struct namespace_list to modpost.cMasahiro Yamada2-5/+5
2022-05-08modpost: retrieve the module dependency and CRCs in check_exports()Masahiro Yamada1-10/+6
2022-05-08modpost: add a separate error for exported symbols without definitionMasahiro Yamada1-1/+6
2022-05-08modpost: remove stale comment about sym_add_exported()Masahiro Yamada1-4/+0
2022-05-08modpost: do not write out any file when error occurredMasahiro Yamada1-0/+3
2022-05-08modpost: use snprintf() instead of sprintf() for safetyMasahiro Yamada1-1/+7
2022-05-08kbuild: get rid of duplication in *.mod filesMasahiro Yamada1-1/+1
2022-05-08kbuild: split the second line of *.mod into *.usymsMasahiro Yamada1-9/+2
2022-05-08modpost: remove annoying namespace_from_kstrtabns()Masahiro Yamada1-12/+2
2022-05-08modpost: remove redundant initializes for static variablesMasahiro Yamada1-5/+5
2022-05-08modpost: move export_from_secname() call to more relevant placeMasahiro Yamada1-6/+4
2022-05-08modpost: remove useless export_from_sec()Masahiro Yamada2-17/+2
2022-04-26bus: mhi: ep: Add uevent support for module autoloadingManivannan Sadhasivam1-0/+10
2022-04-03modpost: restore the warning message for missing symbol versionsMasahiro Yamada1-1/+1
2022-03-27Merge tag 'x86_core_for_5.18_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-6/+6
2022-03-25Merge tag 'kbuild-gnu11-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+3
2022-03-22kbuild: Fixup the IBT kbuild changesPeter Zijlstra1-6/+6
2022-03-13Kbuild: use -Wdeclaration-after-statementMark Rutland1-1/+3
2022-03-10s390/nospec: add an option to use thunk-externVasily Gorbik1-0/+5
2022-01-19Merge tag 'riscv-for-linus-5.17-mw0' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+15
2022-01-05riscv: switch to relative exception tablesJisheng Zhang1-0/+15
2021-11-09HID: intel-ish-hid: add support for MODULE_DEVICE_TABLE()Thomas Weißschuh2-0/+27
2021-09-03Merge tag 'kbuild-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds3-16/+11
2021-09-03Merge tag 'powerpc-5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+1
2021-09-03modpost: get the *.mod file path more simplyMasahiro Yamada3-16/+11
2021-08-26PCI / VFIO: Add 'override_only' support for VFIO PCI sub systemMax Gurtovoy2-2/+16
2021-08-15powerpc/bug: Provide better flexibility to WARN_ON/__WARN_FLAGS() with asm gotoChristophe Leroy1-1/+1
2021-06-17kbuild: modpost: Explicitly warn about unprototyped symbolsMark Brown1-2/+5
2021-05-02.gitignore: prefix local generated files with a slashMasahiro Yamada1-4/+4
2021-04-25kbuild: add an elfnote for whether vmlinux is built with ltoYonghong Song1-0/+2
2021-04-25scripts: modpost.c: Fix a few typosBhaskar Chowdhury1-4/+4
2021-04-25kbuild: fix false-positive modpost warning when all symbols are trimmedMasahiro Yamada1-13/+12
2021-04-25kbuild: generate Module.symvers only when vmlinux existsMasahiro Yamada1-14/+1
2021-02-24Merge tag 'char-misc-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-0/+17
2021-02-23Merge tag 'modules-for-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-50/+3
2021-02-23Merge tag 'clang-lto-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds4-10/+22
2021-02-08module: remove EXPORT_UNUSED_SYMBOL*Christoph Hellwig2-38/+3
2021-02-08module: remove EXPORT_SYMBOL_GPL_FUTUREChristoph Hellwig2-13/+1
2021-01-14scripts/mod: disable LTO for empty.cSami Tolvanen1-0/+1
2021-01-14modpost: lto: strip .lto from module namesSami Tolvanen3-10/+21
2021-01-07fpga: dfl: add dfl bus support to MODULE_DEVICE_TABLE()Xu Yilun2-0/+17
2021-01-07platform/surface: aggregator: Add dedicated bus and device typeMaximilian Luz2-0/+31
2020-12-22Merge tag 'kbuild-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds2-45/+43
2020-12-21modpost: turn static exports into errorQuentin Perret1-3/+3