--==_Exmh_-14193470250
Content-Type: text/plain; charset=us-ascii
kallsyms.c generates the symbol table in a .S file using the assembler .string 
macro.  Unfortunately, the .string macro is implemented in a platform specific 
way (it may or may not zero terminate the string).  On parisc, it doesn't zero 
terminate, so the symbol table search doesn't work.
The solution is to replace .string with .asciz which is guaranteed to do the 
correct thing on all platforms.
James
--==_Exmh_-14193470250
Content-Type: text/plain ; name="tmp.diff"; charset=us-ascii
Content-Description: tmp.diff
Content-Disposition: attachment; filename="tmp.diff"
===== scripts/kallsyms.c 1.2 vs edited =====
--- 1.2/scripts/kallsyms.c	Thu Dec  5 13:57:11 2002
+++ edited/scripts/kallsyms.c	Sat Dec 21 11:43:11 2002
@@ -128,7 +128,7 @@
 		if (table[i].addr == last_addr)
 			continue;
 
-		printf("\t.string\t\"%s\"\n", table[i].sym);
+		printf("\t.asciz\t\"%s\"\n", table[i].sym);
 		last_addr = table[i].addr;
 	}
 	printf("\n");
--==_Exmh_-14193470250--
-
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/