by yongjik · 5y ago · 0 comments
I don't know any other example, but in Itanium, a function pointer is not just an address but an (address+address) pair where the second address is a sort of a base pointer for data segment:
so usually (but not always), sizeof(int ptr) == sizeof(func ptr)