Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Implement static linking #10

Closed
wants to merge 2 commits into from
Closed

Conversation

jrvanwhy
Copy link
Contributor

Because ROPI-RWPI support in the compiler is incomplete, this changes the libtock-rs layout file to allow Rust apps to be statically-linked. With this change in place, all language features should work correctly.

The caveat is we lose the ability to dynamically load Tock applications and we need to predict the size of the TBF headers in the application image. When compiler support for ROPI-RWPI is complete I'll implement any necessary dynamic relocation steps and reverse this change.

This change depends on Initialize .data and .bss in libtock-rs.

@googlebot googlebot added the cla: yes Marks the CLA requirements as complete. label Jan 29, 2019
@jrvanwhy
Copy link
Contributor Author

Oops, this was supposed to merge libtock-rs:static-linking into libtock-rs not tock-on-titan:static-linking into tock-on-titan. Replaced by tock/libtock-rs#64

@jrvanwhy jrvanwhy closed this Jan 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Marks the CLA requirements as complete.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants