Skip to content

Commit

Permalink
stage2: improved glibc stubs
Browse files Browse the repository at this point in the history
This commit upgrades glibc shared library stub-creating code to use the
new abilists file which is generated by the new glibc-abi-tool project:
https://github.com/ziglang/glibc-abi-tool/

The abilists file is different in these ways:
 * It additionally encodes whether a symbol is a function or an object,
   and if it is an object, it additionally encodes the size in bytes.
 * It additionally encodes migrations of symbols from one library to
   another between glibc versions.
 * It is binary data instead of ascii.
 * It is one file instead of three.
 * It is 165 KB instead of 200 KB.

This solves a handful of bugs.

Fixes #5882
Fixes #7667
Fixes #8714
Fixes #8896
  • Loading branch information
andrewrk committed Dec 13, 2021
1 parent a76910b commit 0d7331b
Show file tree
Hide file tree
Showing 5 changed files with 308 additions and 63,773 deletions.
Loading

0 comments on commit 0d7331b

Please sign in to comment.