Commit 7c29ccd
Change MIPS GOT budget setting from entry count to megabytes
Mirrors the Linux kernel pattern (fs/binfmt_elf.c) of bounding by total
byte size rather than entry count, so the same limit applies equally to
32-bit and 64-bit MIPS ELF files regardless of entry size.
The setting files.elf.maxMipsGotMB (default 4 MB) is divided by the
per-entry size at load time to derive the effective entry limit.
Ref: https://github.com/torvalds/linux/blob/master/fs/binfmt_elf.c
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent bf065b0 commit 7c29ccd
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
1173 | 1173 | | |
1174 | 1174 | | |
1175 | 1175 | | |
1176 | | - | |
| 1176 | + | |
| 1177 | + | |
1177 | 1178 | | |
1178 | 1179 | | |
1179 | 1180 | | |
| |||
0 commit comments