diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-09-14 08:19:08 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-14 08:19:08 -0400 |
| commit | 905ec87e93bc9e01b15c60035cd6a50c636cbaef (patch) | |
| tree | 46fd7618d6511611ffc19eb0dd4d7bc6b90a41c2 /scripts | |
| parent | 1d6ae775d7a948c9575658eb41184fd2e506c0df (diff) | |
| parent | 2f4ba45a75d6383b4a1201169a808ffea416ffa0 (diff) | |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Kbuild.include | 3 | ||||
| -rw-r--r-- | scripts/mod/modpost.c | 6 | ||||
| -rw-r--r-- | scripts/reference_discarded.pl | 7 |
3 files changed, 10 insertions, 6 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 9087273abf91..db3c708e546b 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include | |||
| @@ -49,6 +49,9 @@ build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj | |||
| 49 | cmd = @$(if $($(quiet)cmd_$(1)),\ | 49 | cmd = @$(if $($(quiet)cmd_$(1)),\ |
| 50 | echo ' $(subst ','\'',$($(quiet)cmd_$(1)))' &&) $(cmd_$(1)) | 50 | echo ' $(subst ','\'',$($(quiet)cmd_$(1)))' &&) $(cmd_$(1)) |
| 51 | 51 | ||
| 52 | # Add $(obj)/ for paths that is not absolute | ||
| 53 | objectify = $(foreach o,$(1),$(if $(filter /%,$(o)),$(o),$(obj)/$(o))) | ||
| 54 | |||
| 52 | ### | 55 | ### |
| 53 | # if_changed - execute command if any prerequisite is newer than | 56 | # if_changed - execute command if any prerequisite is newer than |
| 54 | # target, or command line has changed | 57 | # target, or command line has changed |
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 09ffca54b373..3bed09e625c0 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
| @@ -370,6 +370,12 @@ handle_modversions(struct module *mod, struct elf_info *info, | |||
| 370 | /* Ignore register directives. */ | 370 | /* Ignore register directives. */ |
| 371 | if (ELF_ST_TYPE(sym->st_info) == STT_SPARC_REGISTER) | 371 | if (ELF_ST_TYPE(sym->st_info) == STT_SPARC_REGISTER) |
| 372 | break; | 372 | break; |
| 373 | if (symname[0] == '.') { | ||
| 374 | char *munged = strdup(symname); | ||
| 375 | munged[0] = '_'; | ||
| 376 | munged[1] = toupper(munged[1]); | ||
| 377 | symname = munged; | ||
| 378 | } | ||
| 373 | } | 379 | } |
| 374 | #endif | 380 | #endif |
| 375 | 381 | ||
diff --git a/scripts/reference_discarded.pl b/scripts/reference_discarded.pl index f04f62736851..c2d54148a91f 100644 --- a/scripts/reference_discarded.pl +++ b/scripts/reference_discarded.pl | |||
| @@ -91,12 +91,7 @@ foreach $object (keys(%object)) { | |||
| 91 | $from !~ /\.exit\.data$/ && | 91 | $from !~ /\.exit\.data$/ && |
| 92 | $from !~ /\.altinstructions$/ && | 92 | $from !~ /\.altinstructions$/ && |
| 93 | $from !~ /\.pdr$/ && | 93 | $from !~ /\.pdr$/ && |
| 94 | $from !~ /\.debug_info$/ && | 94 | $from !~ /\.debug_.*$/ && |
| 95 | $from !~ /\.debug_aranges$/ && | ||
| 96 | $from !~ /\.debug_ranges$/ && | ||
| 97 | $from !~ /\.debug_line$/ && | ||
| 98 | $from !~ /\.debug_frame$/ && | ||
| 99 | $from !~ /\.debug_loc$/ && | ||
| 100 | $from !~ /\.exitcall\.exit$/ && | 95 | $from !~ /\.exitcall\.exit$/ && |
| 101 | $from !~ /\.eh_frame$/ && | 96 | $from !~ /\.eh_frame$/ && |
| 102 | $from !~ /\.stab$/)) { | 97 | $from !~ /\.stab$/)) { |
