Blame SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch
|
Johnny Hughes |
dd4d0d |
diff -up firefox-60.0/mfbt/LinuxSignal.h.mozilla-1238661 firefox-60.0/mfbt/LinuxSignal.h
|
|
Johnny Hughes |
dd4d0d |
--- firefox-60.0/mfbt/LinuxSignal.h.mozilla-1238661 2018-04-27 08:55:38.848241768 +0200
|
|
Johnny Hughes |
dd4d0d |
+++ firefox-60.0/mfbt/LinuxSignal.h 2018-04-27 09:06:47.946769859 +0200
|
|
Johnny Hughes |
dd4d0d |
@@ -22,7 +22,7 @@ __attribute__((naked)) void SignalTrampo
|
|
Johnny Hughes |
dd4d0d |
void* aContext) {
|
|
Johnny Hughes |
dd4d0d |
asm volatile("nop; nop; nop; nop" : : : "memory");
|
|
Johnny Hughes |
dd4d0d |
|
|
Johnny Hughes |
dd4d0d |
- asm volatile("b %0" : : "X"(H) : "memory");
|
|
Johnny Hughes |
dd4d0d |
+ asm volatile("bx %0" : : "r"(H), "l"(aSignal), "l"(aInfo), "l"(aContext) : "memory");
|
|
Johnny Hughes |
dd4d0d |
}
|
|
Johnny Hughes |
dd4d0d |
|
|
Johnny Hughes |
dd4d0d |
# define MOZ_SIGNAL_TRAMPOLINE(h) (mozilla::SignalTrampoline<h>)
|