# stage2: improved glibc stubs · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/1442aa7dc039fd77c483862e37b099fe6d43f369)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 1442aa7dc039fd77c483862e37b099fe6d43f369

Requested commit: 1442aa7dc039fd77c483862e37b099fe6d43f369

Commit: 1442aa7dc039fd77c483862e37b099fe6d43f369

Tree: a379b73a0f35701ab3b5a989c537b44347d91ae3

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: improved glibc stubs

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 three bugs:

Fixes #7667
Fixes #8714
Fixes #8896

```

## Parents

- [a76910b691179390b122b9c42a5575c00d40583a](https://git.cafe/gitcafe/zig/commit/a76910b691179390b122b9c42a5575c00d40583a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/1442aa7dc039fd77c483862e37b099fe6d43f369?format=markdown)
