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/mod | |
| parent | 1d6ae775d7a948c9575658eb41184fd2e506c0df (diff) | |
| parent | 2f4ba45a75d6383b4a1201169a808ffea416ffa0 (diff) | |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'scripts/mod')
| -rw-r--r-- | scripts/mod/modpost.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 | ||
