We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
looks like forget initial obj->rela_text to NULL.
https://github.com/ushitora-anqou/aqcc/blob/master/ld/link.c
obj->shdr = obj->symtab = obj->strtab = NULL; -> obj->shdr = obj->symtab = obj->strtab = obj->rela_text =NULL;
if (obj->rela_text == NULL && strcmp(name, ".rela.text") == 0) { obj->rela_text = offset; obj->nrela_text = size / 24; }
The text was updated successfully, but these errors were encountered:
Yeah, we need to initialize obj->rela_text here. Thanks for pointing that out. I don't have time to fix it now, but a PR is welcome.
obj->rela_text
Sorry, something went wrong.
No branches or pull requests
looks like forget initial obj->rela_text to NULL.
https://github.com/ushitora-anqou/aqcc/blob/master/ld/link.c
obj->shdr = obj->symtab = obj->strtab = NULL; -> obj->shdr = obj->symtab = obj->strtab = obj->rela_text =NULL;
The text was updated successfully, but these errors were encountered: