On Sat, Apr 16, 2011 at 09:26, Alessio Igor Bogani wrote: > In the first place I changed the code for place every symbol in a different > section (for example: "___ksymtab" sec "__" #sym) at compile time (this the > above mentioned trick!). Thus I request to the linker to sort and merge all > these sections into the appropriate ones (for example: "__ksymtab") at link > time using the linker scripts. Once all symbols are sorted we can use binary > search instead of the linear one. this breaks symbol prefixed arches (like Blackfin): CC kernel/softirq.o /tmp/ccp3A6LU.s: Assembler messages: /tmp/ccp3A6LU.s:3734: Error: symbol `___ksymtab__local_bh_enable' is already defined make[1]: *** [kernel/softirq.o] Error 1 this is because your new system of section naming happens to overlap actual symbol names and the gnu assembler does not allow you to declare a section and a symbol with the same name. might be better to pick a separator that cannot appear in a symbol name. so rather than "__", use "+". or some other funky char. -mike -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html