| author | |
| committer | |
| log | c692aced232da210469b2c04270edc5a980b72d7 |
| tree | 378bd2e5b703bc89b243d382de268096332cbea6 |
| parent | 8b06537d92e3ab59694453154f17f51cce594cb9 |
| signature | Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM |
Very unlikely with any sane linker, but technically allowed.1 files changed, 1 insertions(+), 1 deletions(-)
lib/compiler_rt/elf/tls.zig+1-1| ... | ... | @@ -499,7 +499,7 @@ fn computeAreaDesc(phdrs: []elf.ElfN.Phdr) void { |
| 499 | 499 | var block_size: usize = undefined; |
| 500 | 500 | |
| 501 | 501 | if (tls_phdr) |phdr| { |
| 502 | align_factor = phdr.@"align"; | |
| 502 | align_factor = @max(phdr.@"align", 1); | |
| 503 | 503 | |
| 504 | 504 | // The effective size in memory is represented by `memsz`; the length of the data stored |
| 505 | 505 | // in the `PT.TLS` segment is `filesz` and may be less than the former. |