diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Kbuild | 3 | ||||
| -rw-r--r-- | MAINTAINERS | 3 | ||||
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | scripts/kallsyms.c | 3 | ||||
| -rw-r--r-- | scripts/kconfig/util.c | 2 | ||||
| -rwxr-xr-x | scripts/kernel-doc | 4 | ||||
| -rw-r--r-- | scripts/mksysmap | 3 | ||||
| -rw-r--r-- | scripts/mod/modpost.c | 2 |
9 files changed, 15 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore index 090b293b8779..9c0d650385be 100644 --- a/.gitignore +++ b/.gitignore | |||
| @@ -54,6 +54,5 @@ series | |||
| 54 | cscope.* | 54 | cscope.* |
| 55 | 55 | ||
| 56 | *.orig | 56 | *.orig |
| 57 | *.rej | ||
| 58 | *~ | 57 | *~ |
| 59 | \#*# | 58 | \#*# |
| @@ -96,5 +96,4 @@ missing-syscalls: scripts/checksyscalls.sh FORCE | |||
| 96 | $(call cmd,syscalls) | 96 | $(call cmd,syscalls) |
| 97 | 97 | ||
| 98 | # Delete all targets during make clean | 98 | # Delete all targets during make clean |
| 99 | clean-files := $(addprefix $(objtree)/,$(targets)) | 99 | clean-files := $(addprefix $(objtree)/,$(filter-out $(bounds-file) $(offsets-file),$(targets))) |
| 100 | |||
diff --git a/MAINTAINERS b/MAINTAINERS index c68a1189140c..915ad48d8bce 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -2329,7 +2329,8 @@ S: Maintained | |||
| 2329 | KERNEL BUILD (kbuild: Makefile, scripts/Makefile.*) | 2329 | KERNEL BUILD (kbuild: Makefile, scripts/Makefile.*) |
| 2330 | P: Sam Ravnborg | 2330 | P: Sam Ravnborg |
| 2331 | M: sam@ravnborg.org | 2331 | M: sam@ravnborg.org |
| 2332 | T: git kernel.org:/pub/scm/linux/kernel/git/sam/kbuild.git | 2332 | T: git kernel.org:/pub/scm/linux/kernel/git/sam/kbuild-next.git |
| 2333 | T: git kernel.org:/pub/scm/linux/kernel/git/sam/kbuild-fixes.git | ||
| 2333 | L: linux-kbuild@vger.kernel.org | 2334 | L: linux-kbuild@vger.kernel.org |
| 2334 | S: Maintained | 2335 | S: Maintained |
| 2335 | 2336 | ||
| @@ -1114,6 +1114,7 @@ MRPROPER_DIRS += include/config include2 usr/include | |||
| 1114 | MRPROPER_FILES += .config .config.old include/asm .version .old_version \ | 1114 | MRPROPER_FILES += .config .config.old include/asm .version .old_version \ |
| 1115 | include/linux/autoconf.h include/linux/version.h \ | 1115 | include/linux/autoconf.h include/linux/version.h \ |
| 1116 | include/linux/utsrelease.h \ | 1116 | include/linux/utsrelease.h \ |
| 1117 | include/linux/bounds.h include/asm*/asm-offsets.h \ | ||
| 1117 | Module.symvers tags TAGS cscope* | 1118 | Module.symvers tags TAGS cscope* |
| 1118 | 1119 | ||
| 1119 | # clean - Delete most, but leave enough to build external modules | 1120 | # clean - Delete most, but leave enough to build external modules |
| @@ -1431,7 +1432,7 @@ define xtags | |||
| 1431 | elif $1 --version 2>&1 | grep -iq emacs; then \ | 1432 | elif $1 --version 2>&1 | grep -iq emacs; then \ |
| 1432 | $(all-sources) | xargs $1 -a; \ | 1433 | $(all-sources) | xargs $1 -a; \ |
| 1433 | $(all-kconfigs) | xargs $1 -a \ | 1434 | $(all-kconfigs) | xargs $1 -a \ |
| 1434 | --regex='/^[ \t]*(menu|)config[ \t]+\([a-zA-Z0-9_]+\)/\2/'; \ | 1435 | --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/'; \ |
| 1435 | $(all-defconfigs) | xargs -r $1 -a \ | 1436 | $(all-defconfigs) | xargs -r $1 -a \ |
| 1436 | --regex='/^#?[ \t]?\(CONFIG_[a-zA-Z0-9_]+\)/\1/'; \ | 1437 | --regex='/^#?[ \t]?\(CONFIG_[a-zA-Z0-9_]+\)/\1/'; \ |
| 1437 | else \ | 1438 | else \ |
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index 5d20a2e24cd1..ad2434b26970 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c | |||
| @@ -108,6 +108,9 @@ static int read_symbol(FILE *in, struct sym_entry *s) | |||
| 108 | /* exclude also MIPS ELF local symbols ($L123 instead of .L123) */ | 108 | /* exclude also MIPS ELF local symbols ($L123 instead of .L123) */ |
| 109 | else if (str[0] == '$') | 109 | else if (str[0] == '$') |
| 110 | return -1; | 110 | return -1; |
| 111 | /* exclude debugging symbols */ | ||
| 112 | else if (stype == 'N') | ||
| 113 | return -1; | ||
| 111 | 114 | ||
| 112 | /* include the type field in the symbol name, so that it gets | 115 | /* include the type field in the symbol name, so that it gets |
| 113 | * compressed together */ | 116 | * compressed together */ |
diff --git a/scripts/kconfig/util.c b/scripts/kconfig/util.c index f8e73c039dc8..3cc9f9369036 100644 --- a/scripts/kconfig/util.c +++ b/scripts/kconfig/util.c | |||
| @@ -77,7 +77,7 @@ struct gstr str_new(void) | |||
| 77 | { | 77 | { |
| 78 | struct gstr gs; | 78 | struct gstr gs; |
| 79 | gs.s = malloc(sizeof(char) * 64); | 79 | gs.s = malloc(sizeof(char) * 64); |
| 80 | gs.len = 16; | 80 | gs.len = 64; |
| 81 | strcpy(gs.s, "\0"); | 81 | strcpy(gs.s, "\0"); |
| 82 | return gs; | 82 | return gs; |
| 83 | } | 83 | } |
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 83cee18a02e9..88e3934a8b8c 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
| @@ -1556,7 +1556,9 @@ sub create_parameterlist($$$) { | |||
| 1556 | push_parameter($2, "$type $1", $file); | 1556 | push_parameter($2, "$type $1", $file); |
| 1557 | } | 1557 | } |
| 1558 | elsif ($param =~ m/(.*?):(\d+)/) { | 1558 | elsif ($param =~ m/(.*?):(\d+)/) { |
| 1559 | push_parameter($1, "$type:$2", $file) | 1559 | if ($type ne "") { # skip unnamed bit-fields |
| 1560 | push_parameter($1, "$type:$2", $file) | ||
| 1561 | } | ||
| 1560 | } | 1562 | } |
| 1561 | else { | 1563 | else { |
| 1562 | push_parameter($param, $type, $file); | 1564 | push_parameter($param, $type, $file); |
diff --git a/scripts/mksysmap b/scripts/mksysmap index 4390fab9f5bd..6e133a0bae7a 100644 --- a/scripts/mksysmap +++ b/scripts/mksysmap | |||
| @@ -32,6 +32,7 @@ | |||
| 32 | # For System.map filter away: | 32 | # For System.map filter away: |
| 33 | # a - local absolute symbols | 33 | # a - local absolute symbols |
| 34 | # U - undefined global symbols | 34 | # U - undefined global symbols |
| 35 | # N - debugging symbols | ||
| 35 | # w - local weak symbols | 36 | # w - local weak symbols |
| 36 | 37 | ||
| 37 | # readprofile starts reading symbols when _stext is found, and | 38 | # readprofile starts reading symbols when _stext is found, and |
| @@ -40,5 +41,5 @@ | |||
| 40 | # so we just ignore them to let readprofile continue to work. | 41 | # so we just ignore them to let readprofile continue to work. |
| 41 | # (At least sparc64 has __crc_ in the middle). | 42 | # (At least sparc64 has __crc_ in the middle). |
| 42 | 43 | ||
| 43 | $NM -n $1 | grep -v '\( [aUw] \)\|\(__crc_\)\|\( \$[adt]\)' > $2 | 44 | $NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)' > $2 |
| 44 | 45 | ||
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 757294b4f322..508c5895c680 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
| @@ -721,7 +721,7 @@ static int check_section(const char *modname, const char *sec) | |||
| 721 | /* consume all digits */ | 721 | /* consume all digits */ |
| 722 | while (*e && e != sec && isdigit(*e)) | 722 | while (*e && e != sec && isdigit(*e)) |
| 723 | e--; | 723 | e--; |
| 724 | if (*e == '.') { | 724 | if (*e == '.' && !strstr(sec, ".linkonce")) { |
| 725 | warn("%s (%s): unexpected section name.\n" | 725 | warn("%s (%s): unexpected section name.\n" |
| 726 | "The (.[number]+) following section name are " | 726 | "The (.[number]+) following section name are " |
| 727 | "ld generated and not expected.\n" | 727 | "ld generated and not expected.\n" |
