aboutsummaryrefslogtreecommitdiff
path: root/lib/std/elf.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-09-04 00:50:34 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2025-09-04 01:16:23 +0200
commita82f446d91c9e764719d34188de5d794ee24dda8 (patch)
treed4755d27e9547f683fbcc668cf858d279bc4dcb2 /lib/std/elf.zig
parent9e076d8c7548eacc0bbbad770e5e06c3a427c687 (diff)
downloadzig-a82f446d91c9e764719d34188de5d794ee24dda8.tar.gz
zig-a82f446d91c9e764719d34188de5d794ee24dda8.zip
std.elf: change STV enum from u2 to u3
In gABI 4.3, st_other was changed such that the lower 3 bits are reserved for the visibility, up from the previous 2 bits.
Diffstat (limited to 'lib/std/elf.zig')
-rw-r--r--lib/std/elf.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/elf.zig b/lib/std/elf.zig
index 6c7feaccda..bef80d782b 100644
--- a/lib/std/elf.zig
+++ b/lib/std/elf.zig
@@ -2303,7 +2303,7 @@ pub const R_PPC64 = enum(u32) {
_,
};
-pub const STV = enum(u2) {
+pub const STV = enum(u3) {
DEFAULT = 0,
INTERNAL = 1,
HIDDEN = 2,