Why compile the Android kernel module with -fno-pic?

I often read that Android kernel modules must be compiled with -fno-pic to work. Is this specific to the ARM architecture or why not / (when they do) kernel modules for x86 need to be compiled with this flag?

+5
source share

Source: https://habr.com/ru/post/1208397/


All Articles