diff options
author | Freya Murphy <freya@freyacat.org> | 2024-09-30 18:51:54 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-09-30 18:51:54 -0400 |
commit | 2ddf83770c7bb0a5022aa43337b9ea47e014a9d0 (patch) | |
tree | 39067a2085e68e24ae16ecc1162da08cbfbad970 | |
parent | fix parse strings with new line (diff) | |
download | mips-2ddf83770c7bb0a5022aa43337b9ea47e014a9d0.tar.gz mips-2ddf83770c7bb0a5022aa43337b9ea47e014a9d0.tar.bz2 mips-2ddf83770c7bb0a5022aa43337b9ea47e014a9d0.zip |
set padding to zero instead of undefined data
Diffstat (limited to '')
-rw-r--r-- | mld/link.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -559,6 +559,8 @@ static void update_offsets(struct linker *linker) ptr += add; ent->off = ptr; ent->padding = add; + } else { + ent->padding = 0; } } |