|
|
|
|
|
by Someone
94 days ago
|
|
If you squeeze your eyes a bit, C compilers for Windows used to have them, with far pointers (https://en.wikipedia.org/wiki/Far_pointer) Similarly, CPU architectures that use descriptors can (have to?) have languages with that notion. |
|
`thread_local` is an example of a "relative pointer" though. Instructions to access the thread local are prefixed with `fs:` or `gs:`, and point relative to the address in the respective segment register.