• James Bottomley's avatar
    [PARISC] Fix PCREL22F relocation problem for most modules · 6e1b9585
    James Bottomley authored
    The new problem, which has been affecting many more modules was that
    our new ioremap really takes chunks out of our vmalloc space.  The net
    result being that any two kernel vmalloc's now have to slot into the
    chunked up space.  So the vmallocs for a modules init and core sectons
    are no longer necessarily contiguous.  Unfortunately, the module loader
    thinks that any internal symbol references should be satisfiable using the
    jump instruction, which isn't true if the symbol is referenced from init
    to core and vmalloc placed them a long way apart.
    
    Fix this by introducing a new stub type for intra module inter sectional
    jumps and using it.
    Signed-off-by: default avatarJames Bottomley <jejb@parisc-linux.org>
    Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
    6e1b9585
module.c 22.8 KB