Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Chapter 9 - ABI #47

Open
rahul-ar opened this issue Feb 13, 2022 · 0 comments
Open

Error in Chapter 9 - ABI #47

rahul-ar opened this issue Feb 13, 2022 · 0 comments

Comments

@rahul-ar
Copy link

rahul-ar commented Feb 13, 2022

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 callees job to save their gp value, set r1 to be the new value (from the function descriptor) and then call 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant