[all-commits] [llvm/llvm-project] 74c611: [lld][WebAssembly] Skip BSS when combining data se...
Sam Clegg via All-commits
all-commits at lists.llvm.org
Thu Feb 20 14:19:50 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 74c6111631ceb14a70bf833da66df9fb5d871436
https://github.com/llvm/llvm-project/commit/74c6111631ceb14a70bf833da66df9fb5d871436
Author: Sam Clegg <sbc at chromium.org>
Date: 2025-02-20 (Thu, 20 Feb 2025)
Changed paths:
M lld/test/wasm/data-segments.ll
M lld/wasm/OutputSections.cpp
M lld/wasm/Writer.cpp
Log Message:
-----------
[lld][WebAssembly] Skip BSS when combining data segments (#127735)
In most circumstances BSS segments are not required in the output binary
but combineOutputSegments was erroneously including them. This meant
that PIC binaries were including the BSS data as zero in the binary.
Fixes: https://github.com/emscripten-core/emscripten/issues/23683
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list