-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
For example, on IA64 a function descriptor consists of two components; the address of the function (that being a 64 bit, or 8 byte value) and the address of the global pointer (gp). The ABI specifies that r1 should always contain the gp value for a function. This means that when you call a function, it is the
calleesjob to save their gp value, set r1 to be the new value (from the function descriptor) andthencall the function.
In the above paragraph, it should be written that it is the caller's job to save the gp value[source]. Continuing, I think the word call should be formatted instead of the current then.
Metadata
Metadata
Assignees
Labels
No labels