diff options
author | Mohan Kumar M <mohan@in.ibm.com> | 2006-01-23 18:10:37 +0530 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2006-07-27 11:11:11 -0600 |
commit | 10d673dfd32537f2d5e14c07d79b4c63a8bcd7a9 (patch) | |
tree | 2fc76198529ad535bdd07a0f2a2272ed41e34e1d /kexec/kexec-elf-rel.c | |
parent | bce59244e37901a9d1434c75d2eff2fd72884652 (diff) |
patch for REL errors
Hi Haren,
I found out that 'continue' statement is missing in kexec-elf-rel.c.
So I am sending a patch which includes 'continue' statement for
STN_UNDEF condition.
I tried with this patch and I am able to do ./kexec -p and not getting
any relocation error, but kernel OOPS.
Even kexec -l and kexec -e also not working. I am getting "kexec:
waiting for cpu 1 (physical 1) to go down" message and kernel did not
boot.
I used /home/hbabu/2.6.15-mm1/linux-2.6.15-mm1 for testing purpose.
Initrd image is not built from linux-2.6.15-mm1, I used existing initrd
image (initrd-2.6.15-rc5cel.img).
As I am having fever, I may not be able to come office tomorrow. Sorry
for the inconvenience.
Regards,
Mohan.
Diffstat (limited to 'kexec/kexec-elf-rel.c')
-rw-r--r-- | kexec/kexec-elf-rel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kexec/kexec-elf-rel.c b/kexec/kexec-elf-rel.c index 1f5cdf1..eed6bc2 100644 --- a/kexec/kexec-elf-rel.c +++ b/kexec/kexec-elf-rel.c @@ -376,6 +376,7 @@ int elf_rel_load(struct mem_ehdr *ehdr, struct kexec_info *info, die("Undefined symbol: %s\n", strtab + sym.st_name); */ + continue; } sec_base = 0; if (sym.st_shndx == SHN_COMMON) { |