You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Static variable relocation will be done by filling distance between current instruction pointer and address where you stored data.
But it assumes compiler(in this case; llvm) generates proper instruction for it.
clang -target=x86_64-elf -fPIC -c on OSX will generate the code which will end up to fail after proper relocation on linker.
If the relocation process needs to insert or delete another instruction for it, it must exceed its own role.
The text was updated successfully, but these errors were encountered:
Static variable relocation will be done by filling distance between current instruction pointer and address where you stored data.
But it assumes compiler(in this case; llvm) generates proper instruction for it.
clang -target=x86_64-elf -fPIC -c on OSX will generate the code which will end up to fail after proper relocation on linker.
If the relocation process needs to insert or delete another instruction for it, it must exceed its own role.
The text was updated successfully, but these errors were encountered: