| author | |
| committer | |
| log | 180f6156f58b921920f3491f423759b4d7bd187c |
| tree | 0743da6ba7e12bd72982c9738ebf57a9ce510ee8 |
| parent | 12815e2223085c1b990cfef754335f7b0d3bb2d0 |
Some libcs define this in their crt0, so if the synthesized symbol is strong, we
get a duplicate definition error.
closes https://codeberg.org/ziglang/zig/issues/358181 files changed, 1 insertions(+), 1 deletions(-)
src/link/Elf2.zig+1-1| ... | @@ -3262,7 +3262,7 @@ fn initHeaders( | ... | @@ -3262,7 +3262,7 @@ fn initHeaders( |
| 3262 | .value = Section.Index.text.vaddr(elf), | 3262 | .value = Section.Index.text.vaddr(elf), |
| 3263 | .size = 0, | 3263 | .size = 0, |
| 3264 | .type = .NOTYPE, | 3264 | .type = .NOTYPE, |
| 3265 | .bind = .strong, | 3265 | .bind = .weak, |
| 3266 | .visibility = .HIDDEN, | 3266 | .visibility = .HIDDEN, |
| 3267 | .shndx = .text, | 3267 | .shndx = .text, |
| 3268 | }) catch |err| switch (err) { | 3268 | }) catch |err| switch (err) { |