This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

bypass PLT(Procedure Linkage Table) compile option

My platform is ARM64 V8, gcc-4.9.2-arm64. EX, I have a function called test::Foo::bar, the address of this function is absolute address(like 0xffff6432), however on ARM64 platform, the address of that function is _ZN4test3Foo3barEiPvml@plt(0x423e70)which is the PLT. Did i miss any gcc-flag in ARM. I found that -fno-plt option could disable the PLT. However -fno-plt was supported after GCC-6.1. Should I add -fPIC option on my ARM 64 platform? Or is there any gcc flag could disable PLT

Thanks