Changeset 328b89f in mainline for uspace/lib/system/include/system.h

Timestamp:
2025-01-24T23:50:40Z (6 weeks ago)
Author:
Matěj Volf <git@…>
Children:
544c5b4
Parents:
bf0716f
git-author:
Matěj Volf <git@…> (2025-01-24 23:49:43)
git-committer:
Matěj Volf <git@…> (2025-01-24 23:50:40)
Message:

fix calculation of TLS size for main fibril

Before this patch, _tcb_data_offset always used progsymbols.elfstart. However,
that is wrong when it is being called from the loader server!! Now we pass to it
a pointer to the correct ELF, falling back to elfstart in the public tls_get call.

(debugging this was quite an ordeal and took me like 5 hours, thanks for asking (':)

(No files)

Note: See TracChangeset for help on using the changeset viewer.