set padding to zero instead of undefined data

This commit is contained in:
Murphy 2024-09-30 18:51:54 -04:00
parent 121eda3464
commit 2ddf83770c
Signed by: freya
GPG key ID: 744AB800E383AE52

View file

@ -559,6 +559,8 @@ static void update_offsets(struct linker *linker)
ptr += add;
ent->off = ptr;
ent->padding = add;
} else {
ent->padding = 0;
}
}