diff --git a/www/firefox/files/patch-mozglue_baseprofiler_core_platform-linux-android.cpp b/www/firefox/files/patch-mozglue_baseprofiler_core_platform-linux-android.cpp new file mode 100644 index 000000000000..562f9a6b008f --- /dev/null +++ b/www/firefox/files/patch-mozglue_baseprofiler_core_platform-linux-android.cpp @@ -0,0 +1,11 @@ +--- mozglue/baseprofiler/core/platform-linux-android.cpp.orig 2023-12-06 20:29:18 UTC ++++ mozglue/baseprofiler/core/platform-linux-android.cpp +@@ -122,7 +122,7 @@ static void PopulateRegsFromContext(Registers& aRegs, + aRegs.mSP = reinterpret_cast
(mcontext.mc_gpregs.gp_sp); + aRegs.mFP = reinterpret_cast
(mcontext.mc_gpregs.gp_x[29]); + aRegs.mLR = reinterpret_cast
(mcontext.mc_gpregs.gp_lr); +- aRegs.mR11 = reinterpret_cast
(mcontext.mc_gpregs.gp_x[11]; ++ aRegs.mR11 = reinterpret_cast
(mcontext.mc_gpregs.gp_x[11]); + #elif defined(GP_PLAT_mips64_linux) || defined(GP_PLAT_mips64_android) + aRegs.mPC = reinterpret_cast
(mcontext.pc); + aRegs.mSP = reinterpret_cast
(mcontext.gregs[29]); diff --git a/www/firefox/files/patch-tools_profiler_core_platform-linux-android.cpp b/www/firefox/files/patch-tools_profiler_core_platform-linux-android.cpp new file mode 100644 index 000000000000..2f0aed73d93a --- /dev/null +++ b/www/firefox/files/patch-tools_profiler_core_platform-linux-android.cpp @@ -0,0 +1,11 @@ +--- tools/profiler/core/platform-linux-android.cpp.orig 2023-12-07 09:23:33 UTC ++++ tools/profiler/core/platform-linux-android.cpp +@@ -114,7 +114,7 @@ static void PopulateRegsFromContext(Registers& aRegs, + aRegs.mSP = reinterpret_cast
(mcontext.mc_gpregs.gp_sp); + aRegs.mFP = reinterpret_cast
(mcontext.mc_gpregs.gp_x[29]); + aRegs.mLR = reinterpret_cast
(mcontext.mc_gpregs.gp_lr); +- aRegs.mR11 = reinterpret_cast
(mcontext.mc_gpregs.gp_x[11]; ++ aRegs.mR11 = reinterpret_cast
(mcontext.mc_gpregs.gp_x[11]); + #elif defined(GP_PLAT_mips64_linux) || defined(GP_PLAT_mips64_android) + aRegs.mPC = reinterpret_cast
(mcontext.pc); + aRegs.mSP = reinterpret_cast
(mcontext.gregs[29]);