# link.Elf: truncate st_other to u3 before converting to std.elf.STV · gitcafe/zig

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

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

Visibility: public

Requested revision: 210b764c03b736a6fe025b5fac030eec0350f0df

Requested commit: 210b764c03b736a6fe025b5fac030eec0350f0df

Commit: 210b764c03b736a6fe025b5fac030eec0350f0df

Tree: f514d611bd432431fd1f06f84c33f62b061df33a

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
link.Elf: truncate st_other to u3 before converting to std.elf.STV

See 6b6e336e07308fd23f3061b5be11407956b2a460 for context, but note that in
gABI 4.3, 3 bits are reserved for the visibility, up from the previous 2.

```

## Parents

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

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