Frank Rowand
258f742635
modpost: Fix modpost license checking of vmlinux.o
...
Commit f02e8a6596 ("module: Sort exported symbols") sorts symbols
placing each of them in its own elf section. This sorting and merging
into the canonical sections are done by the linker.
Unfortunately modpost to generate Module.symvers file parses vmlinux.o
(which is not linked yet) and all modules object files (which aren't
linked yet). These aren't sanitized by the linker yet. That breaks
modpost that can't detect license properly for modules.
This patch makes modpost aware of the new exported symbols structure.
[ This above is a slightly corrected version of the explanation of the
problem, copied from commit 62a2635610 ("modpost: Fix modpost's
license checking V3"). That commit fixed the problem for module
object files, but not for vmlinux.o. This patch fixes modpost for
vmlinux.o. ]
Signed-off-by: Frank Rowand <frank.rowand@am.sony.com>
Signed-off-by: Alessio Igor Bogani <abogani@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-04-09 20:52:56 -07:00
..
basic
fixdep: fix extraneous dependencies
2011-09-09 11:45:47 +02:00
coccinelle
Merge branch 'akpm' (Andrew's patch-bomb)
2012-04-05 15:30:34 -07:00
dtc
scripts: dtc: fix compile warnings
2012-03-24 23:07:35 +01:00
genksyms
scripts/genksyms: clean lex/yacc generated files
2012-01-08 14:48:15 +01:00
kconfig
merge_config.sh: Add option to display redundant configs
2012-03-30 15:14:47 +02:00
ksymoops
mod
modpost: Fix modpost license checking of vmlinux.o
2012-04-09 20:52:56 -07:00
package
kbuild: Fix out-of-tree build for 'make deb-pkg'
2012-02-25 00:01:28 +01:00
rt-tester
selinux
tracing
.gitignore
bin2c.c
bloat-o-meter
bootgraph.pl
bootgraph.pl: relax timing information requirements
2011-06-13 00:04:57 +02:00
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl
checkpatch: check for quoted strings broken across lines
2012-03-23 16:58:37 -07:00
checkstack.pl
checksyscalls.sh
checksyscalls: Use arch/x86/syscalls/syscall_32.tbl as source
2011-11-17 13:35:37 -08:00
checkversion.pl
cleanfile
cleanpatch
coccicheck
coccicheck: change handling of C={1,2} when M= is set
2012-02-24 23:50:19 +01:00
config
conmakehash.c
decodecode
depmod.sh
kbuild: do not check for ancient modutils tools
2012-01-23 15:12:19 +01:00
diffconfig
docproc.c
docproc: cleanup brace placement
2011-06-16 20:40:03 +02:00
export_report.pl
extract-ikconfig
extract-vmlinux
scripts: add extract-vmlinux
2011-08-31 16:12:17 +02:00
gcc-goto.sh
ARM: 7333/2: jump label: detect %c support for ARM
2012-03-24 09:38:56 +00:00
gcc-version.sh
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
2011-05-24 13:31:37 -07:00
get_maintainer.pl
get_maintainer.pl: add support for moderated lists
2012-03-23 16:58:32 -07:00
gfp-translate
headerdep.pl
headers.sh
kbuild, headers.sh: Don't make archheaders explicitly
2011-11-22 14:47:50 -08:00
headers_check.pl
headers_check: recursively search for linux/types.h inclusion
2012-03-26 14:54:27 +02:00
headers_install.pl
headers_install: fix __packed in exported kernel headers
2011-06-24 16:56:05 +02:00
kallsyms.c
Kbuild.include
scripts/Kbuild.include: Fix portability problem of "echo -e"
2012-03-24 23:32:05 +01:00
kernel-doc
scripts/kernel-doc: fix fatal error caused by cfg80211.h
2012-01-23 08:44:53 -08:00
Lindent
Makefile
Makefile.asm-generic
kbuild: silence Nothing to be done for 'all' message
2011-06-09 11:48:19 +02:00
Makefile.build
kbuild: disable -Wmissing-field-initializers for W=1
2012-01-26 11:07:26 +01:00
Makefile.clean
Makefile.fwinst
Makefile.headersinst
kbuild: Add support for installing generated asm headers
2011-11-17 13:14:36 -08:00
Makefile.help
Makefile.host
Makefile.lib
Kbuild: centralize MKIMAGE and cmd_uimage definitions
2012-03-26 15:49:20 +02:00
Makefile.modbuiltin
Makefile.modinst
Makefile.modpost
Merge commit 'v3.0-rc1' into kbuild/kbuild
2011-06-07 15:37:51 +02:00
makelst
markup_oops.pl
mkcompile_h
mkmakefile
kbuild: silence generated makefile message
2011-07-20 17:08:08 +02:00
mksysmap
mkuboot.sh
mkversion
module-common.lds
namespace.pl
patch-kernel
scripts/patch-kernel: digest kernel.org hosted .xz patches
2012-03-30 15:23:36 +02:00
pnmtologo.c
profile2linkerlist.pl
recordmcount.c
recordmcount.h
recordmcount: Fix handling of elf64 big-endian objects.
2012-01-06 17:06:42 -05:00
recordmcount.pl
setlocalversion
setlocalversion: Use "grep -q" instead of piping output to "read dummy"
2012-03-26 22:54:00 +02:00
show_delta
tags.sh
Subject: [PATCH] tags.sh: Add missing quotes
2012-04-02 11:28:17 +02:00
unifdef.c
ver_linux
xz_wrap.sh