mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 12:15:51 +00:00
1ea7e357ca
MFBT_API is not the right macro for this; it changes the affected definition/usage to a weak symbol, for reasons explained in the comments on its definition. This was causing the linker to drop the dependency from libmozglue to libmozsandbox, in some cases (--as-needed, with a linker that doesn't consider weak symbols "needed"), and thus load libxul with gSandboxCrashFunc relocated to address 0 (the expected behavior of an unresolved weak symbol), which caused crashes when writing to it on startup. --HG-- extra : amend_source : b99fded391ae90b1311f4cabaf40f15e6414f245 |
||
---|---|---|
.. | ||
apps | ||
certverifier | ||
manager | ||
nss | ||
patches | ||
pkix | ||
sandbox |