diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-10 11:27:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-10 11:27:52 -0500 |
commit | 0c05384a5a1af2352b8c244cf32f480ba6cbf024 (patch) | |
tree | 5090f9d2d07d0bccae3144bb0cdbdf15e8555013 /scripts/mod/modpost.c | |
parent | 1542dec1c9109fdcd1c53460f064096f24fc49d2 (diff) | |
parent | bc91c9f313309915f6ec767f56f78dcd0305b20f (diff) |
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
mkuboot.sh: Fail if mkimage is missing
gen_init_cpio: checkpatch fixes
gen_init_cpio: Avoid race between call to stat() and call to open()
modpost: Fix address calculation in reloc_location()
Make fixdep error handling more explicit
checksyscalls: Fix stand-alone usage
modpost: Put .zdebug* section on white list
kbuild: fix interaction of CONFIG_IKCONFIG and KCONFIG_CONFIG
kbuild: export linux/{a.out,kvm,kvm_para}.h on headers_install_all
kbuild: introduce HDR_ARCH_LIST for headers_install_all
headers_install: check exit status of unifdef
gen_init_cpio: remove leading `/' from file names
scripts/genksyms: fix header usage
fixdep: use hash table instead of a single array
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r-- | scripts/mod/modpost.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 33122ca04e7c..97d2259ae999 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -790,6 +790,7 @@ static const char *section_white_list[] = | |||
790 | { | 790 | { |
791 | ".comment*", | 791 | ".comment*", |
792 | ".debug*", | 792 | ".debug*", |
793 | ".zdebug*", /* Compressed debug sections. */ | ||
793 | ".GCC-command-line", /* mn10300 */ | 794 | ".GCC-command-line", /* mn10300 */ |
794 | ".mdebug*", /* alpha, score, mips etc. */ | 795 | ".mdebug*", /* alpha, score, mips etc. */ |
795 | ".pdr", /* alpha, score, mips etc. */ | 796 | ".pdr", /* alpha, score, mips etc. */ |
@@ -1441,7 +1442,7 @@ static unsigned int *reloc_location(struct elf_info *elf, | |||
1441 | int section = shndx2secindex(sechdr->sh_info); | 1442 | int section = shndx2secindex(sechdr->sh_info); |
1442 | 1443 | ||
1443 | return (void *)elf->hdr + sechdrs[section].sh_offset + | 1444 | return (void *)elf->hdr + sechdrs[section].sh_offset + |
1444 | r->r_offset - sechdrs[section].sh_addr; | 1445 | r->r_offset; |
1445 | } | 1446 | } |
1446 | 1447 | ||
1447 | static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) | 1448 | static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) |