• Alessio Igor Bogani's avatar
    module: Sort exported symbols · f02e8a65
    Alessio Igor Bogani authored
    This patch places every exported symbol in its own section
    (i.e. "___ksymtab+printk").  Thus the linker will use its SORT() directive
    to sort and finally merge all symbol in the right and final section
    (i.e. "__ksymtab").
    
    The symbol prefixed archs use an underscore as prefix for symbols.
    To avoid collision we use a different character to create the temporary
    section names.
    
    This work was supported by a hardware donation from the CE Linux Forum.
    Signed-off-by: default avatarAlessio Igor Bogani <abogani@kernel.org>
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (folded in '+' fixup)
    Tested-by: default avatarDirk Behme <dirk.behme@googlemail.com>
    f02e8a65
module-common.lds 737 Bytes