Closed freeBoyfeny closed 5 months ago
The method of checking whether it is PIC is wrong. You can use the following methods
readelf -d lib*.so |grep TEXTREL
If the output is null, the so file must has used the -fPIC option.
Can you provide more context here? Which check specifically?
Closing due to lack of followup
The method of checking whether it is PIC is wrong. You can use the following methods
readelf -d lib*.so |grep TEXTREL
If the output is null, the so file must has used the -fPIC option.