Skip to content

Commit

Permalink
stage2: upgrade musl libc stub file
Browse files Browse the repository at this point in the history
This is the result of the work on tools/gen_stubs.zig. It now uses the
preprocessor to emit different symbols and sizes depending on the
architecture. The data is collected directly from multiple libc.so files
on disk built with upstream musl.

Closes #8178
Addresses #8896 for musl

There is still room for further improvement to this, which is to
put `.ds` directives after symbols that are not followed by aliases, to
avoid the potential problem of a linker believing that all symbols are
aliases of each other.
  • Loading branch information
andrewrk committed Dec 9, 2021
1 parent da9542c commit f69f55c
Show file tree
Hide file tree
Showing 2 changed files with 887 additions and 519 deletions.
Loading

0 comments on commit f69f55c

Please sign in to comment.