Add support for loading modules on arc64. For this purpose add handling of relocations specific to arc64. Select large code model when compiling kernel modules. This is required to make sure that compiler will not make any assumptions about addresses of code and data. Otherwise compiler may break 'long' calls to built-in kernel functions.
Add support for loading modules on arc64. For this purpose add handling of relocations specific to arc64. Select large code model when compiling kernel modules. This is required to make sure that compiler will not make any assumptions about addresses of code and data. Otherwise compiler may break 'long' calls to built-in kernel functions.
Signed-off-by: Sergey Matyukevich sergey.matyukevich@synopsys.com