| author | |
| committer | |
| log | 991e00c2702b31dffb7b5ada26c7b19a552502a7 |
| tree | f0fe321bacedebda5b6db12bdd6cec0057b1b24d |
| parent | 438d680913393d42754ea1d27c7c50ef1698d0ff |
| signature |
Co-authored-by: Andrew Kelley <andrew@ziglang.org>1 files changed, 1 insertions(+), 1 deletions(-)
src/objcopy.zig+1-1| ... | @@ -442,7 +442,7 @@ const BinaryElfOutput = struct { | ... | @@ -442,7 +442,7 @@ const BinaryElfOutput = struct { |
| 442 | } | 442 | } |
| 443 | 443 | ||
| 444 | fn sectionValidForOutput(shdr: anytype) bool { | 444 | fn sectionValidForOutput(shdr: anytype) bool { |
| 445 | return shdr.sh_size > 0 and shdr.sh_type != elf.SHT_NOBITS and | 445 | return shdr.sh_type != elf.SHT_NOBITS and |
| 446 | ((shdr.sh_flags & elf.SHF_ALLOC) == elf.SHF_ALLOC); | 446 | ((shdr.sh_flags & elf.SHF_ALLOC) == elf.SHF_ALLOC); |
| 447 | } | 447 | } |
| 448 | 448 |