Hi Kashyap, > I'll need some help understanding the PIC code a bit - can you please give > an example in the generated picolisp assembly that relies on position > dependent code?
For ppc64 and arm64 *all* code is position independent, i.e. all memory accesses are always relative to the program counter (PC). x86 does not have such an architecture (there are no position independent instructions except branches). In x86-64 the situation improved a little over x86-32, but it is still a kludge. PicoLisp uses it only with limitations in code for shared libraries (ext and ht in the distro). You find this distinction if you look for the *FPic global in src64/arch/x86-64.l. ☺/ A!ex -- UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
