Re: 2.5.50-bk5: KALLSYMS shows call trace as all _stext

From: Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Date: Thu Dec 05 2002 - 14:50:32 EST


On Thu, 5 Dec 2002, Burton Windle wrote:

> Starting in 2.5.50-bk5 (it works in bk4), oopses when CONFIG_KALLSYMS
> seems to mis-report all functions as _stext.
>
> Call Trace:
> [<c014cec9>] _stext+0x47ec9/0x17ab4e
>
> However, as seen in the System.map,
> bwindle@razor:/giant/linux$ grep c014ce System.map
> c014ce50 T get_locks_status

Thanks, my bad.

Could you confirm that the appended patch fixes it?

--Kai

===== scripts/kallsyms.c 1.1 vs edited =====
--- 1.1/scripts/kallsyms.c Wed Dec 4 13:16:58 2002
+++ edited/scripts/kallsyms.c Thu Dec 5 13:47:38 2002
@@ -114,6 +114,7 @@
 
         printf(".globl kallsyms_num_syms\n");
         printf("\t.align 8\n");
+ printf("kallsyms_num_syms:\n");
         printf("\t.long\t%d\n", valid);
         printf("\n");
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:23 EST