Question on why specific ELF relocations are supported for module loader

Yifan Lu yifanlu at stanford.edu
Thu May 21 23:46:00 PDT 2015


I'm referring to linux/arch/arm/kernel/module.c. It seems to be an arbitrary subset of ARM ELF relocations. (The manual lists about 130 types of relocations.) Is it because GCC only outputs these types? Or is there another reason? Also, isn't static relocations only used for static linking?



More information about the linux-arm-kernel mailing list