foss-for-synopsys-dwc-arc-processors / linux

Helpful resources for users & developers of Linux kernel for ARC
22 stars 13 forks source link

ARC: module: add support for arc64 #66

Closed geomatsi closed 2 years ago

geomatsi commented 2 years ago

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