Closed dbittman closed 7 months ago
This PR makes a choice to extend the number of "magic function definitions" (e.g. twz_get_runtime, tls_get_addr) to include dl_iterate_phdr, a function commonly defined by unix-like dynamic linkers to allow libunwind to get a list of loaded objects and their segment info.
Alternatives considered, and rejected:
The documentation of these "magic functions" will be placed into the runtime docs (separate PR)
That's kinda what I'm trying to do, get us to a point where these big changes aren't necessary. This PR gets us up to feature parity with the minimal runtime, after which individual, contained changes will (hopefully) be easier.
This PR continues to implement the reference runtime, continuing on from the last PR in this series, #147 .
Highlights:
Next steps will be
Each of these will be its own PR.
TODO Before Ready for Review